From 48d0df39753037b6688c55a372254ef9ecae5631 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 21 Nov 2020 04:44:34 +0100 Subject: don't use install_hostname variable in roles --- roles/vm/guest/define/templates/libvirt-domain.xml.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'roles/vm/guest/define/templates/libvirt-domain.xml.j2') diff --git a/roles/vm/guest/define/templates/libvirt-domain.xml.j2 b/roles/vm/guest/define/templates/libvirt-domain.xml.j2 index ce8a48d4..28f237a9 100644 --- a/roles/vm/guest/define/templates/libvirt-domain.xml.j2 +++ b/roles/vm/guest/define/templates/libvirt-domain.xml.j2 @@ -1,5 +1,5 @@ - {{ install_hostname }} + {{ inventory_hostname }} {{ ((install_cooked.vm.memory | human_to_bytes) / 1024) | int }} {{ ((install_cooked.vm.memory | human_to_bytes) / 1024) | int }} {{ install_cooked.vm.numcpus }} @@ -44,7 +44,7 @@ {% if vm_define_installer and install_distro == 'openbsd' %} - + @@ -57,7 +57,7 @@ {% if src.type == 'lvm' %} {% elif src.type == 'zfs' %} - + {% endif %} @@ -72,7 +72,7 @@ {% if src.type == 'lvm' %} {% elif src.type == 'zfs' %} - + {% endif %} -- cgit v1.2.3