From c414e9c75f9af8875a6a7d2e9054d15f8eedf534 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Fri, 3 Feb 2023 23:31:27 +0100 Subject: [PATCH] feat(x86/arm64): Add IPv4 printing on login screen --- arm64-build.sh | 1 + preseed.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/arm64-build.sh b/arm64-build.sh index 202aac0..b58ca44 100755 --- a/arm64-build.sh +++ b/arm64-build.sh @@ -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" diff --git a/preseed.cfg b/preseed.cfg index b2b3265..97dc471 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -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