mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41: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.
28 lines
918 B
Plaintext
28 lines
918 B
Plaintext
.encoding = "UTF-8"
|
|
config.version = "8"
|
|
virtualHW.version = "4"
|
|
guestOS = "other-64"
|
|
uuid.bios = "42 3e 94 a9 a1 c7 b3 1d-71 61 76 c7 58 6c 83 0e"
|
|
displayName = "vmtest.local"
|
|
annotation = "Centos 5.5 64bit Server"
|
|
memsize = "2048"
|
|
sched.mem.minsize = "256"
|
|
numvcpus = "2"
|
|
sched.cpu.shares = "normal"
|
|
scsi0.present = "true"
|
|
scsi0.virtualDev = "lsilogic"
|
|
scsi0:0.present = "true"
|
|
scsi0:0.deviceType = "scsi-hardDisk"
|
|
scsi0:0.fileName = "/vmfs/volumes/datastore/directory/vmtest-000001.vmdk"
|
|
ide0:0.present = "true"
|
|
ide0:0.deviceType = "cdrom-image"
|
|
ide0:0.fileName = "/vmfs/volumes/4af0231d-1eff559a-6369-0024e84773b6/isos/CentOS-5.5-x86_64-bin-DVD-1of2.iso"
|
|
floppy0.present = "false"
|
|
floppy1.present = "false"
|
|
ethernet0.present = "true"
|
|
ethernet0.virtualDev = "e1000"
|
|
ethernet0.networkName = "VM-LAN"
|
|
ethernet0.connectionType = "bridged"
|
|
ethernet0.addressType = "vpx"
|
|
ethernet0.generatedAddress = "00:50:56:be:00:15"
|