From 642290c73407a7969857197810123633c83c6a26 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 13 Feb 2022 01:37:39 +0100 Subject: Bulk update Signed-off-by: Georg Pfuetzenreuter --- ansible/deployment_poc/templates/dhcpd.conf.j2 | 2 +- ansible/deployment_poc/templates/grub.j2 | 3 +++ .../deployment_poc/templates/libvirt-storage-template.xml.j2 | 4 ++-- ansible/deployment_poc/templates/libvirt-template.xml.j2 | 11 +++++++---- ansible/deployment_poc/templates/nsd_zone.j2 | 1 + 5 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 ansible/deployment_poc/templates/grub.j2 create mode 100644 ansible/deployment_poc/templates/nsd_zone.j2 (limited to 'ansible/deployment_poc/templates') diff --git a/ansible/deployment_poc/templates/dhcpd.conf.j2 b/ansible/deployment_poc/templates/dhcpd.conf.j2 index 5309ae4..fc7a5dd 100644 --- a/ansible/deployment_poc/templates/dhcpd.conf.j2 +++ b/ansible/deployment_poc/templates/dhcpd.conf.j2 @@ -1,5 +1,5 @@ host {{ vm_name }} { hardware ethernet {{ mac_address }}; fixed-address {{ ip_address }}; - filename "replace-with-bootfile"; + filename "shim.efi"; } diff --git a/ansible/deployment_poc/templates/grub.j2 b/ansible/deployment_poc/templates/grub.j2 new file mode 100644 index 0000000..ec4d4a0 --- /dev/null +++ b/ansible/deployment_poc/templates/grub.j2 @@ -0,0 +1,3 @@ +default={% if os == 'openSUSE-Leap-x86_64' %}install-suse{% endif %}{% if os == 'OpenBSD-x86_64' %}install-openbsd{% endif %} + +{% if os == 'openSUSE-Leap-x86_64' %}installfile=autoinst_{{ vm_name }}.xml{% endif %} diff --git a/ansible/deployment_poc/templates/libvirt-storage-template.xml.j2 b/ansible/deployment_poc/templates/libvirt-storage-template.xml.j2 index 9ce3ff1..048dd2a 100644 --- a/ansible/deployment_poc/templates/libvirt-storage-template.xml.j2 +++ b/ansible/deployment_poc/templates/libvirt-storage-template.xml.j2 @@ -8,8 +8,8 @@ 0660 - 107 - 107 + 455 + 453 diff --git a/ansible/deployment_poc/templates/libvirt-template.xml.j2 b/ansible/deployment_poc/templates/libvirt-template.xml.j2 index 8c4170d..28826e1 100644 --- a/ansible/deployment_poc/templates/libvirt-template.xml.j2 +++ b/ansible/deployment_poc/templates/libvirt-template.xml.j2 @@ -12,8 +12,11 @@ hvm + /usr/share/qemu/ovmf-x86_64-code.bin /var/lib/libvirt/qemu/nvram/{{ inventory_hostname }}_VARS.fd + + @@ -57,15 +60,15 @@ /usr/bin/qemu-system-x86_64 - + -
- +