summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2020-04-01 02:11:42 +0200
committerStefan Kreutz <mail@skreutz.com>2020-04-01 02:11:42 +0200
commit07b231f21841c951a2db60475c17730b647f7542 (patch)
treecf87275eea5a8e0ed1da0cf66e7bc3ad2ea7737c
parentfe000ff236b48a26e40bf9a263c4524b91f078f7 (diff)
downloadautoinstall-openbsd-on-qemu-07b231f21841c951a2db60475c17730b647f7542.tar
Revise
-rw-r--r--http/install.conf2
-rwxr-xr-xrun3
2 files changed, 2 insertions, 3 deletions
diff --git a/http/install.conf b/http/install.conf
index 77725c6..01c0d93 100644
--- a/http/install.conf
+++ b/http/install.conf
@@ -2,7 +2,7 @@ Change the default console to com0 = yes
Which speed should com0 use = 115200
System hostname = openbsd-vm
Password for root = *************
-Allow root ssh login = prohibit-password
+Allow root ssh login = no
Setup a user = puffy
Password for user = *************
What timezone are you in = UTC
diff --git a/run b/run
index 825c1a7..7bc0664 100755
--- a/run
+++ b/run
@@ -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
}
Generated by cgit. See skreutz.com for my tech blog and contact information.