Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Tue, 30 Apr 2019 11:29:56 virt-install 27061] DEBUG (cli:204) Launched with command line: ./virt-install --name foobar --os-variant fedora29 --unattend profile=desktop --debug --print-xml --dry-run
- [Tue, 30 Apr 2019 11:29:56 virt-install 27061] DEBUG (virt-install:238) Distilled --network options: ['default']
- [Tue, 30 Apr 2019 11:29:56 virt-install 27061] DEBUG (virt-install:159) Distilled --disk options: []
- [Tue, 30 Apr 2019 11:29:56 virt-install 27061] DEBUG (cli:218) Requesting libvirt URI default
- [Tue, 30 Apr 2019 11:29:56 virt-install 27061] DEBUG (cli:221) Received libvirt URI qemu:///system
- [Tue, 30 Apr 2019 11:29:57 virt-install 27061] DEBUG (guest:385) Setting Guest osinfo <_OsVariant name=fedora29>
- [Tue, 30 Apr 2019 11:29:57 virt-install 27061] DEBUG (virt-install:462) Generated default libosinfo '--location https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os'
- [Tue, 30 Apr 2019 11:29:57 virt-install 27061] DEBUG (urlfetcher:35) Using scratchdir=/home/metaldent/.cache/virt-manager/boot
- [Tue, 30 Apr 2019 11:29:57 virt-install 27061] DEBUG (urldetect:281) Finding distro store for location=https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os
- [Tue, 30 Apr 2019 11:29:57 virt-install 27061] DEBUG (urldetect:859) variant=fedora29 has distro=fedora, looking for matching distro store to prioritize
- [Tue, 30 Apr 2019 11:29:57 virt-install 27061] DEBUG (urldetect:866) Prioritizing distro store=<class 'virtinst.urldetect._FedoraDistro'>
- [Tue, 30 Apr 2019 11:30:05 virt-install 27061] DEBUG (connectionpool:815) Starting new HTTPS connection (1): download.fedoraproject.org:443
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (connectionpool:393) https://download.fedoraproject.org:443 "GET /pub/fedora/linux/releases/29/Workstation/x86_64/os/.treeinfo HTTP/1.1" 302 0
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (connectionpool:205) Starting new HTTP connection (1): mirror.cse.iitk.ac.in:80
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (connectionpool:393) http://mirror.cse.iitk.ac.in:80 "GET /fedora/linux/releases/29/Workstation/x86_64/os/.treeinfo HTTP/1.1" 200 1557
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (urlfetcher:67) Fetching URI: https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os/.treeinfo
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (urldetect:71) treeinfo family=Fedora
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (urldetect:75) Found treeinfo version=29
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (urldetect:79) Found treeinfo name=Fedora 29
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (urldetect:295) Detected class=_LibosinfoDistro osvariant=fedora29
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (installer:338) installer.detect_distro returned=fedora29
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (virt-install:532) Generated default libosinfo '--disk size=20'
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (storage:190) Using default pool name=default target=/var/lib/libvirt/images
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (disk:282) Creating volume 'foobar.qcow2' on pool 'default'
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (disk:408) disk.set_vol_install: name=foobar.qcow2 poolxml=
- <pool type='dir'>
- <name>default</name>
- <uuid>7271653d-d5fe-407e-9e6c-0052f01d39ec</uuid>
- <capacity unit='bytes'>62966788096</capacity>
- <allocation unit='bytes'>33498456064</allocation>
- <available unit='bytes'>29468332032</available>
- <source>
- </source>
- <target>
- <path>/var/lib/libvirt/images</path>
- <permissions>
- <mode>0711</mode>
- <owner>0</owner>
- <group>0</group>
- </permissions>
- </target>
- </pool>
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (graphics:235) Using default_graphics=spice
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (graphics:246) Local connection, disabling spice image compression.
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (osdict:592) Install script found for profile 'desktop'
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:184) Using 'initrd' injection method
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:206) Using 'network' installation source
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:122) InstallScriptConfig created with the following params:
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:123) username: metaldent
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:124) realname: MetalDent
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:125) user password:
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:126) admin password:
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:127) target disk: /dev/vda
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:128) hardware arch: x86_64
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:129) hostname: foobar
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:130) timezone: Asia/Kolkata
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:131) language: en
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:132) keyboard: en
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:134) url: https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:135) product-key: None
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (installertreemedia:191) Generated unattended cmdline: ks=file:/fedora.ks
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (installertreemedia:192) Generated unattended script: /home/metaldent/.cache/virt-manager/unattended/fedora.ks
- [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (installertreemedia:194) Generated script contents:
- # Install script for fedora29 profile desktop
- keyboard 'en'
- lang en
- network --onboot yes --bootproto dhcp --noipv6 --hostname=foobar
- rootpw dummyPa55w0rd # Actual password set (or unset) in %post below
- firewall --disabled
- authselect select sssd
- timezone --utc Asia/Kolkata
- bootloader --location=mbr
- zerombr
- clearpart --all --drives=/dev/vda
- firstboot --disable
- autopart
- reboot
- repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
- repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
- url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
- %packages
- @standard
- @epiphany
- @firefox
- @multimedia
- @core
- @hardware-support
- @base-x
- @gnome-desktop
- # QXL driver and SPICE vdagent
- xorg-x11-drv-qxl
- spice-vdagent
- spice-webdavd
- qemu-guest-agent
- %end
- %post --erroronfail
- useradd -G wheel metaldent # Add user
- if test -z ''; then
- passwd -d metaldent # Make user account passwordless
- else
- echo '' |passwd --stdin metaldent
- fi
- if test -z ''; then
- passwd -d root # Make root account passwordless
- else
- echo '' |passwd --stdin root
- fi
- # Set user avatar
- if test -n ''; then
- mkdir /mnt/unattended-media
- mount /mnt/unattended-media
- cp /mnt/unattended-media /var/lib/AccountsService/icons/metaldent
- umount /mnt/unattended-media
- fi
- echo "
- [User]
- Language=
- XSession=
- Icon=/var/lib/AccountsService/icons/metaldent
- " >> /var/lib/AccountsService/users/metaldent
- # Enable autologin
- echo "[daemon]
- AutomaticLoginEnable=true
- AutomaticLogin=metaldent
- [security]
- [xdmcp]
- [greeter]
- [chooser]
- [debug]
- " > /etc/gdm/custom.conf
- %end
- [Tue, 30 Apr 2019 11:30:08 virt-install 27061] DEBUG (connectionpool:393) https://download.fedoraproject.org:443 "HEAD /pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz HTTP/1.1" 302 0
- [Tue, 30 Apr 2019 11:30:08 virt-install 27061] DEBUG (connectionpool:393) http://mirror.cse.iitk.ac.in:80 "HEAD /fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz HTTP/1.1" 200 0
- [Tue, 30 Apr 2019 11:30:08 virt-install 27061] DEBUG (urlfetcher:137) hasFile(https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz) returning True
- [Tue, 30 Apr 2019 11:30:08 virt-install 27061] DEBUG (connectionpool:393) https://download.fedoraproject.org:443 "HEAD /pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img HTTP/1.1" 302 0
- [Tue, 30 Apr 2019 11:30:08 virt-install 27061] DEBUG (connectionpool:393) http://mirror.cse.iitk.ac.in:80 "HEAD /fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img HTTP/1.1" 200 0
- [Tue, 30 Apr 2019 11:30:08 virt-install 27061] DEBUG (urlfetcher:137) hasFile(https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img) returning True
- [Tue, 30 Apr 2019 11:30:10 virt-install 27061] DEBUG (connectionpool:393) https://download.fedoraproject.org:443 "GET /pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz HTTP/1.1" 302 0
- [Tue, 30 Apr 2019 11:31:01 virt-install 27061] DEBUG (connectionpool:393) http://mirror.cse.iitk.ac.in:80 "GET /fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz HTTP/1.1" 200 8618168
- [Tue, 30 Apr 2019 11:31:01 virt-install 27061] DEBUG (urlfetcher:67) Fetching URI: https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz
- [Tue, 30 Apr 2019 11:31:04 virt-install 27061] DEBUG (urlfetcher:157) Saved file to /home/metaldent/.cache/virt-manager/boot/virtinst-vmlinuz.0tw7rmp2
- [Tue, 30 Apr 2019 11:31:04 virt-install 27061] DEBUG (connectionpool:240) Resetting dropped connection: download.fedoraproject.org
- [Tue, 30 Apr 2019 11:31:06 virt-install 27061] DEBUG (connectionpool:393) https://download.fedoraproject.org:443 "GET /pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img HTTP/1.1" 302 0
- [Tue, 30 Apr 2019 11:31:06 virt-install 27061] DEBUG (connectionpool:393) http://mirror.cse.iitk.ac.in:80 "GET /fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img HTTP/1.1" 200 65644032
- [Tue, 30 Apr 2019 11:31:06 virt-install 27061] DEBUG (urlfetcher:67) Fetching URI: https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (urlfetcher:157) Saved file to /home/metaldent/.cache/virt-manager/boot/virtinst-initrd.img.8p2auwwa
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (initrdinject:25) Copying /home/metaldent/.cache/virt-manager/unattended/fedora.ks to the initrd.
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (initrdinject:28) Appending to the initrd.
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (kernelupload:130) Uploading kernel/initrd media
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (kernelupload:22) Existing pool 'boot-scratch' found for /var/lib/libvirt/boot
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (disk:282) Creating volume 'virtinst-vmlinuz.0tw7rmp2' on pool 'boot-scratch'
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (disk:408) disk.set_vol_install: name=virtinst-vmlinuz.0tw7rmp2 poolxml=
- <pool type='dir'>
- <name>boot-scratch</name>
- <uuid>feaf4bf2-8887-45f4-8bb0-2d7e3600a3c8</uuid>
- <capacity unit='bytes'>62966788096</capacity>
- <allocation unit='bytes'>33577246720</allocation>
- <available unit='bytes'>29389541376</available>
- <source>
- </source>
- <target>
- <path>/var/lib/libvirt/boot</path>
- <permissions>
- <mode>0711</mode>
- <owner>0</owner>
- <group>0</group>
- </permissions>
- </target>
- </pool>
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (storage:733) Creating storage volume 'virtinst-vmlinuz.0tw7rmp2' with xml:
- <volume>
- <name>virtinst-vmlinuz.0tw7rmp2</name>
- <capacity>8618168</capacity>
- <allocation>0</allocation>
- <target>
- <format type="raw"/>
- </target>
- </volume>
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (storage:768) Using vol create flags=0
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (storage:798) Couldn't lookup storage volume in prog thread.
- [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (storage:775) Storage volume 'virtinst-vmlinuz.0tw7rmp2' install complete.
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (disk:282) Creating volume 'virtinst-initrd.img.8p2auwwa' on pool 'boot-scratch'
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (disk:408) disk.set_vol_install: name=virtinst-initrd.img.8p2auwwa poolxml=
- <pool type='dir'>
- <name>boot-scratch</name>
- <uuid>feaf4bf2-8887-45f4-8bb0-2d7e3600a3c8</uuid>
- <capacity unit='bytes'>62966788096</capacity>
- <allocation unit='bytes'>33585868800</allocation>
- <available unit='bytes'>29380919296</available>
- <source>
- </source>
- <target>
- <path>/var/lib/libvirt/boot</path>
- <permissions>
- <mode>0711</mode>
- <owner>0</owner>
- <group>0</group>
- </permissions>
- </target>
- </pool>
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (storage:733) Creating storage volume 'virtinst-initrd.img.8p2auwwa' with xml:
- <volume>
- <name>virtinst-initrd.img.8p2auwwa</name>
- <capacity>65644967</capacity>
- <allocation>0</allocation>
- <target>
- <format type="raw"/>
- </target>
- </volume>
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (storage:768) Using vol create flags=0
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (storage:798) Couldn't lookup storage volume in prog thread.
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (storage:775) Storage volume 'virtinst-initrd.img.8p2auwwa' install complete.
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installer:385) Generated install XML:
- <domain type="kvm">
- <name>foobar</name>
- <uuid>13533b90-59ee-4eba-a818-5ab3b1e57cba</uuid>
- <metadata>
- <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
- <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
- </libosinfo:libosinfo>
- </metadata>
- <memory>2097152</memory>
- <currentMemory>2097152</currentMemory>
- <vcpu>1</vcpu>
- <os>
- <type arch="x86_64" machine="q35">hvm</type>
- <kernel>/var/lib/libvirt/boot/virtinst-vmlinuz.0tw7rmp2</kernel>
- <initrd>/var/lib/libvirt/boot/virtinst-initrd.img.8p2auwwa</initrd>
- <cmdline>ks=file:/fedora.ks inst.repo=https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os</cmdline>
- </os>
- <features>
- <acpi/>
- <apic/>
- <vmport state="off"/>
- </features>
- <cpu mode="host-model"/>
- <clock offset="utc">
- <timer name="rtc" tickpolicy="catchup"/>
- <timer name="pit" tickpolicy="delay"/>
- <timer name="hpet" present="no"/>
- </clock>
- <on_reboot>destroy</on_reboot>
- <pm>
- <suspend-to-mem enabled="no"/>
- <suspend-to-disk enabled="no"/>
- </pm>
- <devices>
- <emulator>/usr/bin/qemu-system-x86_64</emulator>
- <disk type="file" device="disk">
- <driver name="qemu" type="qcow2"/>
- <source file="/var/lib/libvirt/images/foobar.qcow2"/>
- <target dev="vda" bus="virtio"/>
- </disk>
- <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
- <interface type="network">
- <source network="default"/>
- <mac address="52:54:00:10:a6:1f"/>
- <model type="virtio"/>
- </interface>
- <console type="pty"/>
- <channel type="unix">
- <source mode="bind"/>
- <target type="virtio" name="org.qemu.guest_agent.0"/>
- </channel>
- <channel type="spicevmc">
- <target type="virtio" name="com.redhat.spice.0"/>
- </channel>
- <input type="tablet" bus="usb"/>
- <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
- <image compression="off"/>
- </graphics>
- <sound model="ich9"/>
- <video>
- <model type="qxl"/>
- </video>
- <redirdev bus="usb" type="spicevmc"/>
- <redirdev bus="usb" type="spicevmc"/>
- <rng model="virtio">
- <backend model="random">/dev/urandom</backend>
- </rng>
- </devices>
- </domain>
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installer:386) Generated boot XML:
- <domain type="kvm">
- <name>foobar</name>
- <uuid>13533b90-59ee-4eba-a818-5ab3b1e57cba</uuid>
- <metadata>
- <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
- <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
- </libosinfo:libosinfo>
- </metadata>
- <memory>2097152</memory>
- <currentMemory>2097152</currentMemory>
- <vcpu>1</vcpu>
- <os>
- <type arch="x86_64" machine="q35">hvm</type>
- <boot dev="hd"/>
- </os>
- <features>
- <acpi/>
- <apic/>
- <vmport state="off"/>
- </features>
- <cpu mode="host-model"/>
- <clock offset="utc">
- <timer name="rtc" tickpolicy="catchup"/>
- <timer name="pit" tickpolicy="delay"/>
- <timer name="hpet" present="no"/>
- </clock>
- <pm>
- <suspend-to-mem enabled="no"/>
- <suspend-to-disk enabled="no"/>
- </pm>
- <devices>
- <emulator>/usr/bin/qemu-system-x86_64</emulator>
- <disk type="file" device="disk">
- <driver name="qemu" type="qcow2"/>
- <source file="/var/lib/libvirt/images/foobar.qcow2"/>
- <target dev="vda" bus="virtio"/>
- </disk>
- <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
- <interface type="network">
- <source network="default"/>
- <mac address="52:54:00:10:a6:1f"/>
- <model type="virtio"/>
- </interface>
- <console type="pty"/>
- <channel type="unix">
- <source mode="bind"/>
- <target type="virtio" name="org.qemu.guest_agent.0"/>
- </channel>
- <channel type="spicevmc">
- <target type="virtio" name="com.redhat.spice.0"/>
- </channel>
- <input type="tablet" bus="usb"/>
- <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
- <image compression="off"/>
- </graphics>
- <sound model="ich9"/>
- <video>
- <model type="qxl"/>
- </video>
- <redirdev bus="usb" type="spicevmc"/>
- <redirdev bus="usb" type="spicevmc"/>
- <rng model="virtio">
- <backend model="random">/dev/urandom</backend>
- </rng>
- </devices>
- </domain>
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installertreemedia:212) Removing /home/metaldent/.cache/virt-manager/unattended/fedora.ks
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installertreemedia:212) Removing /home/metaldent/.cache/virt-manager/boot/virtinst-vmlinuz.0tw7rmp2
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installertreemedia:212) Removing /home/metaldent/.cache/virt-manager/boot/virtinst-initrd.img.8p2auwwa
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installertreemedia:216) Removing volume 'virtinst-vmlinuz.0tw7rmp2'
- [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installertreemedia:216) Removing volume 'virtinst-initrd.img.8p2auwwa'
- <domain type="kvm">
- <name>foobar</name>
- <uuid>13533b90-59ee-4eba-a818-5ab3b1e57cba</uuid>
- <metadata>
- <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
- <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
- </libosinfo:libosinfo>
- </metadata>
- <memory>2097152</memory>
- <currentMemory>2097152</currentMemory>
- <vcpu>1</vcpu>
- <os>
- <type arch="x86_64" machine="q35">hvm</type>
- <kernel>/var/lib/libvirt/boot/virtinst-vmlinuz.0tw7rmp2</kernel>
- <initrd>/var/lib/libvirt/boot/virtinst-initrd.img.8p2auwwa</initrd>
- <cmdline>ks=file:/fedora.ks inst.repo=https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os</cmdline>
- </os>
- <features>
- <acpi/>
- <apic/>
- <vmport state="off"/>
- </features>
- <cpu mode="host-model"/>
- <clock offset="utc">
- <timer name="rtc" tickpolicy="catchup"/>
- <timer name="pit" tickpolicy="delay"/>
- <timer name="hpet" present="no"/>
- </clock>
- <on_reboot>destroy</on_reboot>
- <pm>
- <suspend-to-mem enabled="no"/>
- <suspend-to-disk enabled="no"/>
- </pm>
- <devices>
- <emulator>/usr/bin/qemu-system-x86_64</emulator>
- <disk type="file" device="disk">
- <driver name="qemu" type="qcow2"/>
- <source file="/var/lib/libvirt/images/foobar.qcow2"/>
- <target dev="vda" bus="virtio"/>
- </disk>
- <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
- <interface type="network">
- <source network="default"/>
- <mac address="52:54:00:10:a6:1f"/>
- <model type="virtio"/>
- </interface>
- <console type="pty"/>
- <channel type="unix">
- <source mode="bind"/>
- <target type="virtio" name="org.qemu.guest_agent.0"/>
- </channel>
- <channel type="spicevmc">
- <target type="virtio" name="com.redhat.spice.0"/>
- </channel>
- <input type="tablet" bus="usb"/>
- <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
- <image compression="off"/>
- </graphics>
- <sound model="ich9"/>
- <video>
- <model type="qxl"/>
- </video>
- <redirdev bus="usb" type="spicevmc"/>
- <redirdev bus="usb" type="spicevmc"/>
- <rng model="virtio">
- <backend model="random">/dev/urandom</backend>
- </rng>
- </devices>
- </domain>
- <domain type="kvm">
- <name>foobar</name>
- <uuid>13533b90-59ee-4eba-a818-5ab3b1e57cba</uuid>
- <metadata>
- <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
- <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
- </libosinfo:libosinfo>
- </metadata>
- <memory>2097152</memory>
- <currentMemory>2097152</currentMemory>
- <vcpu>1</vcpu>
- <os>
- <type arch="x86_64" machine="q35">hvm</type>
- <boot dev="hd"/>
- </os>
- <features>
- <acpi/>
- <apic/>
- <vmport state="off"/>
- </features>
- <cpu mode="host-model"/>
- <clock offset="utc">
- <timer name="rtc" tickpolicy="catchup"/>
- <timer name="pit" tickpolicy="delay"/>
- <timer name="hpet" present="no"/>
- </clock>
- <pm>
- <suspend-to-mem enabled="no"/>
- <suspend-to-disk enabled="no"/>
- </pm>
- <devices>
- <emulator>/usr/bin/qemu-system-x86_64</emulator>
- <disk type="file" device="disk">
- <driver name="qemu" type="qcow2"/>
- <source file="/var/lib/libvirt/images/foobar.qcow2"/>
- <target dev="vda" bus="virtio"/>
- </disk>
- <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
- <interface type="network">
- <source network="default"/>
- <mac address="52:54:00:10:a6:1f"/>
- <model type="virtio"/>
- </interface>
- <console type="pty"/>
- <channel type="unix">
- <source mode="bind"/>
- <target type="virtio" name="org.qemu.guest_agent.0"/>
- </channel>
- <channel type="spicevmc">
- <target type="virtio" name="com.redhat.spice.0"/>
- </channel>
- <input type="tablet" bus="usb"/>
- <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
- <image compression="off"/>
- </graphics>
- <sound model="ich9"/>
- <video>
- <model type="qxl"/>
- </video>
- <redirdev bus="usb" type="spicevmc"/>
- <redirdev bus="usb" type="spicevmc"/>
- <rng model="virtio">
- <backend model="random">/dev/urandom</backend>
- </rng>
- </devices>
- </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement