Skip to content

Commit

Permalink
Update InstallNET.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeClub authored Aug 30, 2021
1 parent d8ab7f8 commit da91f3f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion InstallNET.sh
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,6 @@ d-i grub-installer/force-efi-extra-removable boolean true
d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/reboot boolean true
d-i preseed/late_command string \
echo '${linux_relese}' >/target/etc/hostname; \
sed -ri 's/^#?Port.*/Port ${sshPORT}/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;
Expand Down

0 comments on commit da91f3f

Please sign in to comment.