diff --git a/libvirt-ansible-python/__main__.py b/libvirt-ansible-python/__main__.py index 9799474..b47a7e1 100644 --- a/libvirt-ansible-python/__main__.py +++ b/libvirt-ansible-python/__main__.py @@ -43,7 +43,7 @@ cloudinit = lv.CloudInitDisk("cloud-init", network_config = networkconfig ) -vm = lv.Domain(vm.name, +vm = lv.Domain(conf.name, boot_devices = [ lv.DomainBootDeviceArgs( devs = [ "hd", "cdrom" ] ) ],