Add default password for arm64 and setup ssh keys for x86
This commit is contained in:
parent
d6714e64df
commit
49a0086aea
1
config
1
config
@ -5,6 +5,7 @@ KEYBOARD_KEYMAP=us
|
|||||||
KEYBOARD_LAYOUT="English (US)"
|
KEYBOARD_LAYOUT="English (US)"
|
||||||
TIMEZONE_DEFAULT=Europe/Copenhagen
|
TIMEZONE_DEFAULT=Europe/Copenhagen
|
||||||
FIRST_USER_NAME=creator
|
FIRST_USER_NAME=creator
|
||||||
|
FIRST_USER_PASS=aberation
|
||||||
ENABLE_SSH=1
|
ENABLE_SSH=1
|
||||||
PUBKEY_SSH_FIRST_USER="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDYsz4jdyzf9UcJ8eEavVmi+DNYE3ioeJBfTlVMw7Vsb tanguy@Diogenes"
|
PUBKEY_SSH_FIRST_USER="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDYsz4jdyzf9UcJ8eEavVmi+DNYE3ioeJBfTlVMw7Vsb tanguy@Diogenes"
|
||||||
PUBKEY_ONLY_SSH=1
|
PUBKEY_ONLY_SSH=1
|
||||||
|
@ -466,5 +466,8 @@ d-i finish-install/reboot_in_progress note
|
|||||||
# still a usable /target directory. You can chroot to /target and use it
|
# still a usable /target directory. You can chroot to /target and use it
|
||||||
# directly, or use the apt-install and in-target commands to easily install
|
# directly, or use the apt-install and in-target commands to easily install
|
||||||
# packages and run commands in the target system.
|
# packages and run commands in the target system.
|
||||||
#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
|
d-i preseed/late_command string apt-install zsh; in-target \
|
||||||
|
sudo -u creator mkdir -p -m 700 /home/creator/.ssh; \
|
||||||
|
sudo -u creator install -m 600 /home/creator/.ssh/authorized_keys; \
|
||||||
|
sudo -u creator echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDYsz4jdyzf9UcJ8eEavVmi+DNYE3ioeJBfTlVMw7Vsb tanguy@Diogenes" > /home/creator/.ssh/authorized_keys;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user