From eae9991894f263d95883511b27b00236eb603520 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Wed, 24 Aug 2022 13:49:12 +0200 Subject: [PATCH] Correzione di un piccolo typo nei template. --- libvirt-ansible-python/__main__.py | 1 + libvirt-python/__main__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libvirt-ansible-python/__main__.py b/libvirt-ansible-python/__main__.py index b47a7e1..a3fb66a 100644 --- a/libvirt-ansible-python/__main__.py +++ b/libvirt-ansible-python/__main__.py @@ -48,6 +48,7 @@ vm = lv.Domain(conf.name, devs = [ "hd", "cdrom" ] ) ], cloudinit = cloudinit.id, + vcpu = conf.vcpu, disks = [ lv.DomainDiskArgs(volume_id = volume.id) ], memory = int(conf.ram), network_interfaces = [ lv.DomainNetworkInterfaceArgs( diff --git a/libvirt-python/__main__.py b/libvirt-python/__main__.py index cf773df..dab5679 100644 --- a/libvirt-python/__main__.py +++ b/libvirt-python/__main__.py @@ -36,7 +36,7 @@ vm = lv.Domain(conf.name, devs = [ "hd", "cdrom" ] ) ], cloudinit = cloudinit.id, - vcpus = conf.vcpu, + vcpu = conf.vcpu, disks = [ lv.DomainDiskArgs(volume_id = volume.id) ], memory = int(conf.ram), network_interfaces = [ lv.DomainNetworkInterfaceArgs(