diff options
author | Stefan Kreutz <mail@skreutz.com> | 2020-04-01 02:11:42 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2020-04-01 02:11:42 +0200 |
commit | 07b231f21841c951a2db60475c17730b647f7542 (patch) | |
tree | cf87275eea5a8e0ed1da0cf66e7bc3ad2ea7737c /run | |
parent | fe000ff236b48a26e40bf9a263c4524b91f078f7 (diff) | |
download | autoinstall-openbsd-on-qemu-07b231f21841c951a2db60475c17730b647f7542.tar |
Revise
Diffstat (limited to 'run')
-rwxr-xr-x | run | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -41,9 +41,8 @@ tar -czf http/pub/OpenBSD/6.6/amd64/site66.tgz install.site ( cd http/pub/OpenBSD/6.6/amd64 && ls -l > index.txt ) # Add public ssh key to install.conf. -grep -q -e "^Public ssh key" http/install.conf || { +grep -q -e "^Public ssh key for user =" http/install.conf || { ssh_pub_key="$( cat ~/.ssh/id_rsa.pub )" - echo "Public ssh key for root account = ${ssh_pub_key}" >> http/install.conf echo "Public ssh key for user = ${ssh_pub_key}" >> http/install.conf } |