aboutsummaryrefslogtreecommitdiffstats
path: root/roles/vmm/templates/autoinstall.conf.j2
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-07 21:42:58 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-08 17:52:51 +0000
commit56aa88c7e272ccfd645695103d5bca653005aad4 (patch)
tree757e44da79e5d6cf8c9f572ef6c426d91fb169c6 /roles/vmm/templates/autoinstall.conf.j2
parentee9a624949497a4a3944b24e1b3d9c192dd3d444 (diff)
downloadrules-56aa88c7e272ccfd645695103d5bca653005aad4.tar.gz
roles/vmm: Use host kernels for openbsd guests
Diffstat (limited to 'roles/vmm/templates/autoinstall.conf.j2')
-rw-r--r--roles/vmm/templates/autoinstall.conf.j210
1 files changed, 7 insertions, 3 deletions
diff --git a/roles/vmm/templates/autoinstall.conf.j2 b/roles/vmm/templates/autoinstall.conf.j2
index de64c42..829c90f 100644
--- a/roles/vmm/templates/autoinstall.conf.j2
+++ b/roles/vmm/templates/autoinstall.conf.j2
@@ -1,9 +1,13 @@
+{% set guest = hostvars[item.name] %}
System hostname = {{ item.name }}
+Network interfaces = vio0
+IPv4 address for vio0 = {{ host.__ip.external }}
+Using DNS domainname = {{ host.__domain_name }}
+Using DNS nameservers = {{ __global_domain_name_servers | join (" ") }}
Password for root = {{ vmm_default_password }}
-Network interfaces = run0
-IPv4 address for run0 = dhcp
-Public ssh key for user = {{ vmm_default_ssh_key }}
+Public ssh key for root account = {{ vmm_default_ssh_key }}
Which disk is the root disk = sd0
+Allow root ssh login = yes
What timezone are you in = {{ vmm_default_timezone }}
Unable to connect using https. Use http instead = {{ "yes" if vmm_default_fallback_http else "no" }}
Location of sets = http
remember that computers suck.