Correzioni per richiamata dischi e configurazione.
This commit is contained in:
parent
c2dbc0e318
commit
d24d0fe790
@ -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"),
|
||||||
|
vm_id = config.require("clonevm"),
|
||||||
|
full = True
|
||||||
|
),
|
||||||
|
disks = [
|
||||||
|
proxmox.vm.VirtualMachineDiskArgs(
|
||||||
|
interface = "virtio0",
|
||||||
datastore_id = "local-lvm",
|
datastore_id = "local-lvm",
|
||||||
size = 20,
|
size = 20,
|
||||||
file_format = "qcow2"
|
file_format = "qcow2"
|
||||||
),
|
)
|
||||||
|
],
|
||||||
network_devices = [
|
network_devices = [
|
||||||
proxmox.vm.VirtualMachineNetworkDeviceArgs(
|
proxmox.vm.VirtualMachineNetworkDeviceArgs(
|
||||||
bridge = "vmbr0",
|
bridge = "vmbr0",
|
||||||
|
Loading…
Reference in New Issue
Block a user