diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-07-11 04:21:12 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-07-11 04:21:12 +0200 |
commit | 18cfada22a9acd031d3b77ba6132d700b611eedb (patch) | |
tree | a4e1e6242274accb71edf7a9075a95de80fa3a02 /roles/installer/openbsd/autoinstall/templates/install.site.j2 | |
parent | Merge branch 'topic/vm-host-network' (diff) |
usb installer: add multi-host boot stick support
Diffstat (limited to 'roles/installer/openbsd/autoinstall/templates/install.site.j2')
-rw-r--r-- | roles/installer/openbsd/autoinstall/templates/install.site.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/installer/openbsd/autoinstall/templates/install.site.j2 b/roles/installer/openbsd/autoinstall/templates/install.site.j2 index 974b516a..32b33ea9 100644 --- a/roles/installer/openbsd/autoinstall/templates/install.site.j2 +++ b/roles/installer/openbsd/autoinstall/templates/install.site.j2 @@ -5,7 +5,7 @@ usermod -p "$(openssl rand -base64 24 | encrypt)" root echo "Installing SSH keys for root" cat <<EOF > /root/.ssh/authorized_keys -{{ ssh_keys_root | join('\n') }} +{{ hostvars[install_hostname].ssh_keys_root | join('\n') }} EOF {% if hostvars[install_hostname].ansible_port is defined %} |