fix ipv6
This commit is contained in:
parent
c5a3f6749b
commit
e65eb76c5c
@ -113,8 +113,11 @@ d-i preseed/late_command string \
|
|||||||
in-target update-alternatives --set editor /usr/bin/vim.basic; \
|
in-target update-alternatives --set editor /usr/bin/vim.basic; \
|
||||||
in-target sed -i -e 's/^\(PasswordAuthentication\).*/\1 yes/g' -e 's/^\(PermitRootLogin\).*/\1 yes/g' /etc/ssh/sshd_config; \
|
in-target sed -i -e 's/^\(PasswordAuthentication\).*/\1 yes/g' -e 's/^\(PermitRootLogin\).*/\1 yes/g' /etc/ssh/sshd_config; \
|
||||||
in-target sed -i -e '/^GRUB_HIDDEN_TIMEOUT=/d' -e 's/^\(GRUB_HIDDEN_TIMEOUT_QUIET\)=true/\1=false/' /etc/default/grub; \
|
in-target sed -i -e '/^GRUB_HIDDEN_TIMEOUT=/d' -e 's/^\(GRUB_HIDDEN_TIMEOUT_QUIET\)=true/\1=false/' /etc/default/grub; \
|
||||||
in-target dhclient -6 eth0
|
in-target dhclient -6 eth0 ; \
|
||||||
|
in-target echo "dhclient -6 eth0" >> etc/rc0.d/rc.local;\
|
||||||
|
in-target chmod +x /etc/rc0.d/rc.local; \
|
||||||
in-target systemctl enable --now sshd; \
|
in-target systemctl enable --now sshd; \
|
||||||
|
in-target systemctl enable rc-local; \
|
||||||
in-target update-grub
|
in-target update-grub
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user