1
0
mirror of https://github.com/krislamo/preseed synced 2024-12-16 08:00:35 +00:00

Create SSH directory before download

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

View File

@ -432,4 +432,4 @@ 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 wget --output-document=/home/kris/.ssh/authorized_keys https://raw.githubusercontent.com/krislamo/bootstrap/master/authorized_keys
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