diff options
author | Stefan Kreutz <mail@skreutz.com> | 2020-04-01 02:16:34 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2020-04-01 02:16:34 +0200 |
commit | fc4484b7048c7c6998b5c2bdf38ebc6e9c6588af (patch) | |
tree | 05f43d225defeda59119aa4c6dec0c5a384fd955 /run | |
parent | 07b231f21841c951a2db60475c17730b647f7542 (diff) | |
download | autoinstall-openbsd-on-qemu-fc4484b7048c7c6998b5c2bdf38ebc6e9c6588af.tar |
Revise
Diffstat (limited to 'run')
-rwxr-xr-x | run | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -41,7 +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 for user =" http/install.conf || { +cp install.conf http/install.conf +grep -q -e "^Public ssh key for user =" install.conf || { ssh_pub_key="$( cat ~/.ssh/id_rsa.pub )" echo "Public ssh key for user = ${ssh_pub_key}" >> http/install.conf } |