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(
node_name = config.require("node_name"),
vm_id = config.require("clonevm"),
full = True
),
disks = [
proxmox.vm.VirtualMachineDiskArgs(
interface = "virtio0",
datastore_id = "local-lvm",
size = 20,
file_format = "qcow2"
),
)
],
network_devices = [
proxmox.vm.VirtualMachineNetworkDeviceArgs(
bridge = "vmbr0",