mirror of
https://github.com/krislamo/preseed
synced 2024-12-16 16:10:34 +00:00
Root ssh
This commit is contained in:
parent
8914e59a20
commit
b359e62cd1
@ -433,7 +433,6 @@ d-i finish-install/reboot_in_progress note
|
|||||||
# 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 chsh -s /bin/zsh
|
||||||
d-i preseed/late_command string \
|
d-i preseed/late_command string \
|
||||||
mkdir -p /target/home/kris/.ssh; \
|
mkdir -p /target/root/.ssh; \
|
||||||
wget -O /target/home/kris/.ssh/authorized_keys \
|
wget -O /target/root/.ssh/authorized_keys \
|
||||||
https://raw.githubusercontent.com/krislamo/bootstrap/master/authorized_keys; \
|
https://raw.githubusercontent.com/krislamo/bootstrap/master/authorized_keys;
|
||||||
in-target chown kris:kris /target/home/kris/.ssh/authorized_keys;
|
|
||||||
|
Loading…
Reference in New Issue
Block a user