Correzioni per richiamata dischi e configurazione.

This commit is contained in:
Emiliano Vavassori 2022-08-17 02:02:36 +02:00
parent c2dbc0e318
commit d24d0fe790

View File

@ -32,10 +32,17 @@ vm = proxmox.vm.VirtualMachine("vm",
), ),
clone = proxmox.vm.VirtualMachineCloneArgs( clone = proxmox.vm.VirtualMachineCloneArgs(
node_name = config.require("node_name"), node_name = config.require("node_name"),
datastore_id = "local-lvm", vm_id = config.require("clonevm"),
size = 20, full = True
file_format = "qcow2"
), ),
disks = [
proxmox.vm.VirtualMachineDiskArgs(
interface = "virtio0",
datastore_id = "local-lvm",
size = 20,
file_format = "qcow2"
)
],
network_devices = [ network_devices = [
proxmox.vm.VirtualMachineNetworkDeviceArgs( proxmox.vm.VirtualMachineNetworkDeviceArgs(
bridge = "vmbr0", bridge = "vmbr0",