mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-30 12:31:16 +00:00
The domain XML generator creates the mac addres strings with lowercase strings with a separate piece of code. This patch changes the formating helper to do the same stuff to allow using it to normalize a string provided by the user. After this change some of the tests that are outputing the mac address will need to be changed.
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
.encoding = "UTF-8"
|
|
config.version = "8"
|
|
virtualHW.version = "4"
|
|
guestOS = "other"
|
|
uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
|
displayName = "virtMonServ1"
|
|
memsize = "512"
|
|
numvcpus = "1"
|
|
sched.cpu.shares = "normal"
|
|
scsi0.present = "true"
|
|
scsi0.virtualDev = "lsilogic"
|
|
scsi0:0.present = "true"
|
|
scsi0:0.deviceType = "scsi-hardDisk"
|
|
scsi0:0.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/virtMonServ1/virtMonServ1.vmdk"
|
|
floppy0.present = "false"
|
|
floppy1.present = "false"
|
|
ethernet0.present = "true"
|
|
ethernet0.networkName = "VM Network"
|
|
ethernet0.connectionType = "bridged"
|
|
ethernet0.addressType = "vpx"
|
|
ethernet0.generatedAddress = "00:50:56:91:66:d4"
|
|
ethernet1.present = "true"
|
|
ethernet1.networkName = "VM Switch 2"
|
|
ethernet1.connectionType = "bridged"
|
|
ethernet1.addressType = "vpx"
|
|
ethernet1.generatedAddress = "00:50:56:91:0c:51"
|
|
serial0.present = "true"
|
|
serial0.fileType = "file"
|
|
serial0.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/virtMonServ1/serial1.file"
|
|
serial0.yieldOnMsrRead = "true"
|
|
parallel0.present = "true"
|
|
parallel0.fileType = "file"
|
|
parallel0.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/virtMonServ1/parallel1.file"
|