mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-10-16 02:05:52 +08:00
Update InstallNET.sh
This commit is contained in:
parent
8a4de67dd8
commit
db2ddb45a0
1 changed files with 1 additions and 1 deletions
|
@ -680,8 +680,8 @@ d-i grub-installer/bootdev string default
|
|||
d-i finish-install/reboot_in_progress note
|
||||
d-i debian-installer/exit/reboot boolean true
|
||||
d-i preseed/late_command string \
|
||||
sed -ri 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/g' /target/etc/ssh/sshd_config;
|
||||
sed -ri 's/^#?PermitRootLogin.*/PermitRootLogin yes/g' /target/etc/ssh/sshd_config; \
|
||||
sed -ri 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/g' /target/etc/ssh/sshd_config;
|
||||
EOF
|
||||
|
||||
[[ "$setNet" == '0' ]] && [[ "$AutoNet" == '1' ]] && {
|
||||
|
|
Loading…
Add table
Reference in a new issue