mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03: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.
28 lines
882 B
Plaintext
28 lines
882 B
Plaintext
.encoding = "UTF-8"
|
|
config.version = "8"
|
|
virtualHW.version = "4"
|
|
guestOS = "other"
|
|
uuid.bios = "56 4d de be e8 6f d5 86-08 54 a0 87 9c c4 be 5a"
|
|
displayName = "Router"
|
|
memsize = "32"
|
|
numvcpus = "1"
|
|
ide0:0.present = "true"
|
|
ide0:0.deviceType = "ata-hardDisk"
|
|
ide0:0.fileName = "/vmfs/volumes/storage/Router/Debian-System1-0-cl1.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:c4:be:5a"
|
|
ethernet0.generatedAddressOffset = "0"
|
|
ethernet1.present = "true"
|
|
ethernet1.networkName = "net2"
|
|
ethernet1.connectionType = "custom"
|
|
ethernet1.vnet = "/dev/vmnet2"
|
|
ethernet1.addressType = "generated"
|
|
ethernet1.generatedAddress = "00:0c:29:c4:be:64"
|
|
ethernet1.generatedAddressOffset = "0"
|