summaryrefslogtreecommitdiff
path: root/roles/vm/install/tasks/installer-openbsd.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-11 01:42:07 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-11 01:42:07 +0200
commitc188d4ac1713506c3028b4501730713cfda0ed36 (patch)
treee056a15d599981f963f20365848d4032aa792191 /roles/vm/install/tasks/installer-openbsd.yml
parentpreseed/partman: nicer error text for not-enough-space (diff)
parentopenbsd installer: improve image verification (diff)
Merge branch 'topic/debian-installer-verification'
Diffstat (limited to 'roles/vm/install/tasks/installer-openbsd.yml')
-rw-r--r--roles/vm/install/tasks/installer-openbsd.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/vm/install/tasks/installer-openbsd.yml b/roles/vm/install/tasks/installer-openbsd.yml
new file mode 100644
index 00000000..afa17c45
--- /dev/null
+++ b/roles/vm/install/tasks/installer-openbsd.yml
@@ -0,0 +1,19 @@
+---
+- name: fetch openbsd installer files
+ vars:
+ openbsd_installer_version: "{{ install_codename }}"
+ openbsd_installer_arch: "{{ hostvars[install_hostname].install_cooked.arch | default('amd64') }}"
+ import_role:
+ name: installer/openbsd/fetch
+
+- name: generate host specific autoinstall iso
+ vars:
+ ssh_keys_root: "{{ hostvars[install_hostname].ssh_keys_root }}"
+ obsd_autoinstall_orig_iso: "{{ installer_base_path }}/openbsd-{{ install_codename }}/{{ hostvars[install_hostname].install_cooked.arch | default('amd64') }}/install{{ openbsd_installer_version_short }}.iso"
+ obsd_autoinstall_tmpdir: "{{ tmpdir.path }}"
+ obsd_autoinstall_version: "{{ install_codename }}"
+ obsd_autoinstall_arch: "{{ hostvars[install_hostname].install_cooked.arch | default('amd64') }}"
+ obsd_autoinstall_serial_device: com0
+ install_interface: vio0
+ import_role:
+ name: installer/openbsd/autoinstall