summaryrefslogtreecommitdiff
path: root/addDroplet.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-23 21:46:18 -0500
committerJeff Carr <[email protected]>2024-10-23 21:46:18 -0500
commitacdd6e9c5be6e2d60f6a8defbaccc2f9e09a421d (patch)
tree92559f13ed9f75261e8a3ef338e2bf43a2386a11 /addDroplet.go
parent2df36637bf502f952ee0d2225459afbb9722949c (diff)
another check for custom cpu xml
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'addDroplet.go')
-rw-r--r--addDroplet.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/addDroplet.go b/addDroplet.go
index 1d95510..d9912c9 100644
--- a/addDroplet.go
+++ b/addDroplet.go
@@ -251,14 +251,14 @@ func updateNetwork(d *DropletT, domcfg *libvirtxml.Domain) bool {
}
/* from vm3-with-nvme-1.5GB-sec.xml
- <disk type='block' device='disk'>
- <driver name='qemu' type='raw'/>
- <source dev='/dev/nvme4n1'/>
- <backingStore/>
- <target dev='vdb' bus='virtio'/>
- <alias name='virtio-disk1'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
- </disk>
+ <disk type='block' device='disk'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/nvme4n1'/>
+ <backingStore/>
+ <target dev='vdb' bus='virtio'/>
+ <alias name='virtio-disk1'/>
+ <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
+ </disk>
*/
// returns false if something went wrong