1
0
mirror of https://github.com/krislamo/preseed synced 2024-09-20 04:30:36 +00:00

Remove in-target from commands

This commit is contained in:
Kris Lamoureux 2020-02-24 00:57:57 -05:00
parent b7e0d3dac3
commit 1e8e872a9f
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -432,4 +432,7 @@ d-i finish-install/reboot_in_progress note
# directly, or use the apt-install and in-target commands to easily install
# 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 in-target bash mkdir -p /home/kris/.ssh && wget -O /home/kris/.ssh/authorized_keys https://raw.githubusercontent.com/krislamo/bootstrap/master/authorized_keys
d-i preseed/late_command string \
mkdir -p /target/home/kris/.ssh &&
wget -O /target/home/kris/.ssh/authorized_keys \
https://raw.githubusercontent.com/krislamo/bootstrap/master/authorized_keys