Z
Zanko
Guest
Hi,
I'm using the somewhat limited php api to create qemu guests. I can't get it to accept the params "net" or "net0" (containing virtio0=XX:XX:XX:XX:XX:XX,bridge=vmbr0 etc). The pvesh tool seems to indicate a lot of useful options, like:
-storage
-scsihw (lsi | megasas | virtio-scsi-pci) (default=lsi)
-ostype
l26 => Linux 2.6/3.X Kernel
-onboot boolean (default=0)
-net[n] bridge=vmbr0,virtio
-virtio0 cache=none,volume=aa
-pool string
-bootdisk virtio0
-sockets
Can someone provide an example that addresses the 'net' parameter, and optionally the storage type (where LVM is of interest) etc?
Thanks
I'm using the somewhat limited php api to create qemu guests. I can't get it to accept the params "net" or "net0" (containing virtio0=XX:XX:XX:XX:XX:XX,bridge=vmbr0 etc). The pvesh tool seems to indicate a lot of useful options, like:
-storage
-scsihw (lsi | megasas | virtio-scsi-pci) (default=lsi)
-ostype
l26 => Linux 2.6/3.X Kernel
-onboot boolean (default=0)
-net[n] bridge=vmbr0,virtio
-virtio0 cache=none,volume=aa
-pool string
-bootdisk virtio0
-sockets
Can someone provide an example that addresses the 'net' parameter, and optionally the storage type (where LVM is of interest) etc?
Thanks