Correzione di un piccolo typo nei template.

This commit is contained in:
Emiliano Vavassori 2022-08-24 13:49:12 +02:00
parent 888e1247ab
commit eae9991894
2 changed files with 2 additions and 1 deletions

View File

@ -48,6 +48,7 @@ vm = lv.Domain(conf.name,
devs = [ "hd", "cdrom" ] devs = [ "hd", "cdrom" ]
) ], ) ],
cloudinit = cloudinit.id, cloudinit = cloudinit.id,
vcpu = conf.vcpu,
disks = [ lv.DomainDiskArgs(volume_id = volume.id) ], disks = [ lv.DomainDiskArgs(volume_id = volume.id) ],
memory = int(conf.ram), memory = int(conf.ram),
network_interfaces = [ lv.DomainNetworkInterfaceArgs( network_interfaces = [ lv.DomainNetworkInterfaceArgs(

View File

@ -36,7 +36,7 @@ vm = lv.Domain(conf.name,
devs = [ "hd", "cdrom" ] devs = [ "hd", "cdrom" ]
) ], ) ],
cloudinit = cloudinit.id, cloudinit = cloudinit.id,
vcpus = conf.vcpu, vcpu = conf.vcpu,
disks = [ lv.DomainDiskArgs(volume_id = volume.id) ], disks = [ lv.DomainDiskArgs(volume_id = volume.id) ],
memory = int(conf.ram), memory = int(conf.ram),
network_interfaces = [ lv.DomainNetworkInterfaceArgs( network_interfaces = [ lv.DomainNetworkInterfaceArgs(