mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +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 33 01 26 7f a0 ef-8b 7d d4 5e 98 d6 cb a4"
|
|
displayName = "Server2"
|
|
memsize = "32"
|
|
numvcpus = "1"
|
|
ide0:0.present = "true"
|
|
ide0:0.deviceType = "ata-hardDisk"
|
|
ide0:0.fileName = "/vmfs/volumes/storage/Server2/Debian-System1-0-cl3.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:cb:a4"
|
|
ethernet0.generatedAddressOffset = "0"
|