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(