From 9bd2c8c17a22c84da9a6ba6407c5b928d77fb469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 7 Dec 2021 15:41:02 +0000 Subject: roles/vmm: Serve autoinstall configurations via httpd --- roles/vmm/templates/autoinstall.conf.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 roles/vmm/templates/autoinstall.conf.j2 (limited to 'roles/vmm/templates/autoinstall.conf.j2') diff --git a/roles/vmm/templates/autoinstall.conf.j2 b/roles/vmm/templates/autoinstall.conf.j2 new file mode 100644 index 0000000..de64c42 --- /dev/null +++ b/roles/vmm/templates/autoinstall.conf.j2 @@ -0,0 +1,12 @@ +System hostname = {{ item.name }} +Password for root = {{ vmm_default_password }} +Network interfaces = run0 +IPv4 address for run0 = dhcp +Public ssh key for user = {{ vmm_default_ssh_key }} +Which disk is the root disk = sd0 +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 +HTTP Server = cdn.openbsd.org +Server = {{ ansible_default_ipv4.gateway }} +Set name(s) = -all bsd* base* comp* man* -- cgit v1.2.3