summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorLandry Breuil <landry@cvs.openbsd.org>2017-02-12 08:58:31 +0000
committerLandry Breuil <landry@cvs.openbsd.org>2017-02-12 08:58:31 +0000
commit3a26c85c4a1c80945643e0247e98c1bb63bc7637 (patch)
tree653a38ca9e4d0b377e7c481102fb4cfa62afad65 /distrib
parent9b5080b53d879359d1d0289a5399444dd120e061 (diff)
In autoinstall, no need to create /mnt/root/.ssh if the install script
provided an ssh public key, the directory is in the base set now. From tb@, discussed with rpe@ and tb@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub3
1 files changed, 1 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 6fa626a9e71..7af53220950 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.969 2017/02/08 23:13:02 rpe Exp $
+# $OpenBSD: install.sub,v 1.970 2017/02/12 08:58:30 landry Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -2868,7 +2868,6 @@ do_install(){
# During autoinstall, add root user's public ssh key to authorized_keys.
[[ -n "$_rootkey" ]] && (
umask 077
- mkdir /mnt/root/.ssh
print -r -- "$_rootkey" >>/mnt/root/.ssh/authorized_keys
)