feat(x86/arm64): Add IPv4 printing on login screen
This commit is contained in:
parent
f433fe6ba7
commit
c414e9c75f
@ -27,6 +27,7 @@ chmod 600 /home/creator/.ssh/authorized_keys
|
||||
sed -i -E 's/#?PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config
|
||||
systemctl enable ssh
|
||||
echo "kenoma" > /etc/hostname
|
||||
echo "IP: \4" >> /etc/issue
|
||||
EOT
|
||||
|
||||
echo "Unmounting second partition"
|
||||
|
@ -471,4 +471,5 @@ d-i preseed/late_command string apt-install zsh; \
|
||||
in-target sudo -u creator sh -c 'echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDYsz4jdyzf9UcJ8eEavVmi+DNYE3ioeJBfTlVMw7Vsb tanguy@Diogenes" > /home/creator/.ssh/authorized_keys'; \
|
||||
in-target chmod 600 /home/creator/.ssh/authorized_keys; \
|
||||
in-target sed -i -E 's/#?PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config;
|
||||
in-target echo "IP: \4" >> /etc/issue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user