mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +00:00
ab4bf20ead
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.
21 lines
635 B
Plaintext
21 lines
635 B
Plaintext
.encoding = "UTF-8"
|
|
config.version = "8"
|
|
virtualHW.version = "4"
|
|
guestOS = "other"
|
|
uuid.bios = "56 4d 12 23 f8 35 c4 b1-bb f6 e3 23 90 d6 2b d3"
|
|
displayName = "Server1"
|
|
memsize = "32"
|
|
numvcpus = "1"
|
|
ide0:0.present = "true"
|
|
ide0:0.deviceType = "ata-hardDisk"
|
|
ide0:0.fileName = "/vmfs/volumes/storage/Server1/Debian-System1-0-cl2.vmdk"
|
|
floppy0.present = "false"
|
|
floppy1.present = "false"
|
|
ethernet0.present = "true"
|
|
ethernet0.networkName = "net1"
|
|
ethernet0.connectionType = "custom"
|
|
ethernet0.vnet = "/dev/vmnet1"
|
|
ethernet0.addressType = "generated"
|
|
ethernet0.generatedAddress = "00:0c:29:d6:2b:d3"
|
|
ethernet0.generatedAddressOffset = "0"
|