Advertisement
metal_dent

unattended install

Apr 30th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.12 KB | None | 0 0
  1. [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
  2. [Tue, 30 Apr 2019 11:29:56 virt-install 27061] DEBUG (virt-install:238) Distilled --network options: ['default']
  3. [Tue, 30 Apr 2019 11:29:56 virt-install 27061] DEBUG (virt-install:159) Distilled --disk options: []
  4. [Tue, 30 Apr 2019 11:29:56 virt-install 27061] DEBUG (cli:218) Requesting libvirt URI default
  5. [Tue, 30 Apr 2019 11:29:56 virt-install 27061] DEBUG (cli:221) Received libvirt URI qemu:///system
  6. [Tue, 30 Apr 2019 11:29:57 virt-install 27061] DEBUG (guest:385) Setting Guest osinfo <_OsVariant name=fedora29>
  7. [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'
  8. [Tue, 30 Apr 2019 11:29:57 virt-install 27061] DEBUG (urlfetcher:35) Using scratchdir=/home/metaldent/.cache/virt-manager/boot
  9. [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
  10. [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
  11. [Tue, 30 Apr 2019 11:29:57 virt-install 27061] DEBUG (urldetect:866) Prioritizing distro store=<class 'virtinst.urldetect._FedoraDistro'>
  12. [Tue, 30 Apr 2019 11:30:05 virt-install 27061] DEBUG (connectionpool:815) Starting new HTTPS connection (1): download.fedoraproject.org:443
  13. [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
  14. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (connectionpool:205) Starting new HTTP connection (1): mirror.cse.iitk.ac.in:80
  15. [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
  16. [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
  17. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (urldetect:71) treeinfo family=Fedora
  18. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (urldetect:75) Found treeinfo version=29
  19. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (urldetect:79) Found treeinfo name=Fedora 29
  20. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (urldetect:295) Detected class=_LibosinfoDistro osvariant=fedora29
  21. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (installer:338) installer.detect_distro returned=fedora29
  22. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (virt-install:532) Generated default libosinfo '--disk size=20'
  23. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (storage:190) Using default pool name=default target=/var/lib/libvirt/images
  24. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (disk:282) Creating volume 'foobar.qcow2' on pool 'default'
  25. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (disk:408) disk.set_vol_install: name=foobar.qcow2 poolxml=
  26. <pool type='dir'>
  27. <name>default</name>
  28. <uuid>7271653d-d5fe-407e-9e6c-0052f01d39ec</uuid>
  29. <capacity unit='bytes'>62966788096</capacity>
  30. <allocation unit='bytes'>33498456064</allocation>
  31. <available unit='bytes'>29468332032</available>
  32. <source>
  33. </source>
  34. <target>
  35. <path>/var/lib/libvirt/images</path>
  36. <permissions>
  37. <mode>0711</mode>
  38. <owner>0</owner>
  39. <group>0</group>
  40. </permissions>
  41. </target>
  42. </pool>
  43.  
  44. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (graphics:235) Using default_graphics=spice
  45. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (graphics:246) Local connection, disabling spice image compression.
  46. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (osdict:592) Install script found for profile 'desktop'
  47. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:184) Using 'initrd' injection method
  48. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:206) Using 'network' installation source
  49. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:122) InstallScriptConfig created with the following params:
  50. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:123) username: metaldent
  51. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:124) realname: MetalDent
  52. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:125) user password:
  53. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:126) admin password:
  54. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:127) target disk: /dev/vda
  55. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:128) hardware arch: x86_64
  56. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:129) hostname: foobar
  57. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:130) timezone: Asia/Kolkata
  58. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:131) language: en
  59. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:132) keyboard: en
  60. [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
  61. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (unattended:135) product-key: None
  62. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (installertreemedia:191) Generated unattended cmdline: ks=file:/fedora.ks
  63. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (installertreemedia:192) Generated unattended script: /home/metaldent/.cache/virt-manager/unattended/fedora.ks
  64. [Tue, 30 Apr 2019 11:30:07 virt-install 27061] DEBUG (installertreemedia:194) Generated script contents:
  65.  
  66. # Install script for fedora29 profile desktop
  67. keyboard 'en'
  68. lang en
  69. network --onboot yes --bootproto dhcp --noipv6 --hostname=foobar
  70. rootpw dummyPa55w0rd # Actual password set (or unset) in %post below
  71. firewall --disabled
  72.  
  73. authselect select sssd
  74.  
  75. timezone --utc Asia/Kolkata
  76. bootloader --location=mbr
  77. zerombr
  78.  
  79. clearpart --all --drives=/dev/vda
  80.  
  81. firstboot --disable
  82.  
  83. autopart
  84. reboot
  85.  
  86.  
  87. repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
  88. repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
  89. url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
  90.  
  91.  
  92. %packages
  93.  
  94. @standard
  95. @epiphany
  96. @firefox
  97. @multimedia
  98.  
  99. @core
  100. @hardware-support
  101. @base-x
  102. @gnome-desktop
  103.  
  104. # QXL driver and SPICE vdagent
  105. xorg-x11-drv-qxl
  106. spice-vdagent
  107.  
  108.  
  109. spice-webdavd
  110.  
  111. qemu-guest-agent
  112.  
  113.  
  114. %end
  115.  
  116. %post --erroronfail
  117.  
  118. useradd -G wheel metaldent # Add user
  119. if test -z ''; then
  120. passwd -d metaldent # Make user account passwordless
  121. else
  122. echo '' |passwd --stdin metaldent
  123. fi
  124.  
  125. if test -z ''; then
  126. passwd -d root # Make root account passwordless
  127. else
  128. echo '' |passwd --stdin root
  129. fi
  130.  
  131. # Set user avatar
  132. if test -n ''; then
  133. mkdir /mnt/unattended-media
  134. mount /mnt/unattended-media
  135. cp /mnt/unattended-media /var/lib/AccountsService/icons/metaldent
  136. umount /mnt/unattended-media
  137. fi
  138.  
  139. echo "
  140. [User]
  141. Language=
  142. XSession=
  143. Icon=/var/lib/AccountsService/icons/metaldent
  144. " >> /var/lib/AccountsService/users/metaldent
  145.  
  146. # Enable autologin
  147. echo "[daemon]
  148. AutomaticLoginEnable=true
  149. AutomaticLogin=metaldent
  150.  
  151. [security]
  152.  
  153. [xdmcp]
  154.  
  155. [greeter]
  156.  
  157. [chooser]
  158.  
  159. [debug]
  160. " > /etc/gdm/custom.conf
  161.  
  162. %end
  163.  
  164. [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
  165. [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
  166. [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
  167. [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
  168. [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
  169. [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
  170. [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
  171. [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
  172. [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
  173. [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
  174. [Tue, 30 Apr 2019 11:31:04 virt-install 27061] DEBUG (connectionpool:240) Resetting dropped connection: download.fedoraproject.org
  175. [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
  176. [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
  177. [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
  178. [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
  179. [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.
  180. [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (initrdinject:28) Appending to the initrd.
  181. [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (kernelupload:130) Uploading kernel/initrd media
  182. [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (kernelupload:22) Existing pool 'boot-scratch' found for /var/lib/libvirt/boot
  183. [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (disk:282) Creating volume 'virtinst-vmlinuz.0tw7rmp2' on pool 'boot-scratch'
  184. [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (disk:408) disk.set_vol_install: name=virtinst-vmlinuz.0tw7rmp2 poolxml=
  185. <pool type='dir'>
  186. <name>boot-scratch</name>
  187. <uuid>feaf4bf2-8887-45f4-8bb0-2d7e3600a3c8</uuid>
  188. <capacity unit='bytes'>62966788096</capacity>
  189. <allocation unit='bytes'>33577246720</allocation>
  190. <available unit='bytes'>29389541376</available>
  191. <source>
  192. </source>
  193. <target>
  194. <path>/var/lib/libvirt/boot</path>
  195. <permissions>
  196. <mode>0711</mode>
  197. <owner>0</owner>
  198. <group>0</group>
  199. </permissions>
  200. </target>
  201. </pool>
  202.  
  203. [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (storage:733) Creating storage volume 'virtinst-vmlinuz.0tw7rmp2' with xml:
  204. <volume>
  205. <name>virtinst-vmlinuz.0tw7rmp2</name>
  206. <capacity>8618168</capacity>
  207. <allocation>0</allocation>
  208. <target>
  209. <format type="raw"/>
  210. </target>
  211. </volume>
  212.  
  213. [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (storage:768) Using vol create flags=0
  214. [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (storage:798) Couldn't lookup storage volume in prog thread.
  215. [Tue, 30 Apr 2019 11:34:05 virt-install 27061] DEBUG (storage:775) Storage volume 'virtinst-vmlinuz.0tw7rmp2' install complete.
  216. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (disk:282) Creating volume 'virtinst-initrd.img.8p2auwwa' on pool 'boot-scratch'
  217. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (disk:408) disk.set_vol_install: name=virtinst-initrd.img.8p2auwwa poolxml=
  218. <pool type='dir'>
  219. <name>boot-scratch</name>
  220. <uuid>feaf4bf2-8887-45f4-8bb0-2d7e3600a3c8</uuid>
  221. <capacity unit='bytes'>62966788096</capacity>
  222. <allocation unit='bytes'>33585868800</allocation>
  223. <available unit='bytes'>29380919296</available>
  224. <source>
  225. </source>
  226. <target>
  227. <path>/var/lib/libvirt/boot</path>
  228. <permissions>
  229. <mode>0711</mode>
  230. <owner>0</owner>
  231. <group>0</group>
  232. </permissions>
  233. </target>
  234. </pool>
  235.  
  236. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (storage:733) Creating storage volume 'virtinst-initrd.img.8p2auwwa' with xml:
  237. <volume>
  238. <name>virtinst-initrd.img.8p2auwwa</name>
  239. <capacity>65644967</capacity>
  240. <allocation>0</allocation>
  241. <target>
  242. <format type="raw"/>
  243. </target>
  244. </volume>
  245.  
  246. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (storage:768) Using vol create flags=0
  247. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (storage:798) Couldn't lookup storage volume in prog thread.
  248. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (storage:775) Storage volume 'virtinst-initrd.img.8p2auwwa' install complete.
  249. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installer:385) Generated install XML:
  250. <domain type="kvm">
  251. <name>foobar</name>
  252. <uuid>13533b90-59ee-4eba-a818-5ab3b1e57cba</uuid>
  253. <metadata>
  254. <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  255. <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
  256. </libosinfo:libosinfo>
  257. </metadata>
  258. <memory>2097152</memory>
  259. <currentMemory>2097152</currentMemory>
  260. <vcpu>1</vcpu>
  261. <os>
  262. <type arch="x86_64" machine="q35">hvm</type>
  263. <kernel>/var/lib/libvirt/boot/virtinst-vmlinuz.0tw7rmp2</kernel>
  264. <initrd>/var/lib/libvirt/boot/virtinst-initrd.img.8p2auwwa</initrd>
  265. <cmdline>ks=file:/fedora.ks inst.repo=https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os</cmdline>
  266. </os>
  267. <features>
  268. <acpi/>
  269. <apic/>
  270. <vmport state="off"/>
  271. </features>
  272. <cpu mode="host-model"/>
  273. <clock offset="utc">
  274. <timer name="rtc" tickpolicy="catchup"/>
  275. <timer name="pit" tickpolicy="delay"/>
  276. <timer name="hpet" present="no"/>
  277. </clock>
  278. <on_reboot>destroy</on_reboot>
  279. <pm>
  280. <suspend-to-mem enabled="no"/>
  281. <suspend-to-disk enabled="no"/>
  282. </pm>
  283. <devices>
  284. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  285. <disk type="file" device="disk">
  286. <driver name="qemu" type="qcow2"/>
  287. <source file="/var/lib/libvirt/images/foobar.qcow2"/>
  288. <target dev="vda" bus="virtio"/>
  289. </disk>
  290. <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
  291. <interface type="network">
  292. <source network="default"/>
  293. <mac address="52:54:00:10:a6:1f"/>
  294. <model type="virtio"/>
  295. </interface>
  296. <console type="pty"/>
  297. <channel type="unix">
  298. <source mode="bind"/>
  299. <target type="virtio" name="org.qemu.guest_agent.0"/>
  300. </channel>
  301. <channel type="spicevmc">
  302. <target type="virtio" name="com.redhat.spice.0"/>
  303. </channel>
  304. <input type="tablet" bus="usb"/>
  305. <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
  306. <image compression="off"/>
  307. </graphics>
  308. <sound model="ich9"/>
  309. <video>
  310. <model type="qxl"/>
  311. </video>
  312. <redirdev bus="usb" type="spicevmc"/>
  313. <redirdev bus="usb" type="spicevmc"/>
  314. <rng model="virtio">
  315. <backend model="random">/dev/urandom</backend>
  316. </rng>
  317. </devices>
  318. </domain>
  319.  
  320. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installer:386) Generated boot XML:
  321. <domain type="kvm">
  322. <name>foobar</name>
  323. <uuid>13533b90-59ee-4eba-a818-5ab3b1e57cba</uuid>
  324. <metadata>
  325. <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  326. <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
  327. </libosinfo:libosinfo>
  328. </metadata>
  329. <memory>2097152</memory>
  330. <currentMemory>2097152</currentMemory>
  331. <vcpu>1</vcpu>
  332. <os>
  333. <type arch="x86_64" machine="q35">hvm</type>
  334. <boot dev="hd"/>
  335. </os>
  336. <features>
  337. <acpi/>
  338. <apic/>
  339. <vmport state="off"/>
  340. </features>
  341. <cpu mode="host-model"/>
  342. <clock offset="utc">
  343. <timer name="rtc" tickpolicy="catchup"/>
  344. <timer name="pit" tickpolicy="delay"/>
  345. <timer name="hpet" present="no"/>
  346. </clock>
  347. <pm>
  348. <suspend-to-mem enabled="no"/>
  349. <suspend-to-disk enabled="no"/>
  350. </pm>
  351. <devices>
  352. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  353. <disk type="file" device="disk">
  354. <driver name="qemu" type="qcow2"/>
  355. <source file="/var/lib/libvirt/images/foobar.qcow2"/>
  356. <target dev="vda" bus="virtio"/>
  357. </disk>
  358. <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
  359. <interface type="network">
  360. <source network="default"/>
  361. <mac address="52:54:00:10:a6:1f"/>
  362. <model type="virtio"/>
  363. </interface>
  364. <console type="pty"/>
  365. <channel type="unix">
  366. <source mode="bind"/>
  367. <target type="virtio" name="org.qemu.guest_agent.0"/>
  368. </channel>
  369. <channel type="spicevmc">
  370. <target type="virtio" name="com.redhat.spice.0"/>
  371. </channel>
  372. <input type="tablet" bus="usb"/>
  373. <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
  374. <image compression="off"/>
  375. </graphics>
  376. <sound model="ich9"/>
  377. <video>
  378. <model type="qxl"/>
  379. </video>
  380. <redirdev bus="usb" type="spicevmc"/>
  381. <redirdev bus="usb" type="spicevmc"/>
  382. <rng model="virtio">
  383. <backend model="random">/dev/urandom</backend>
  384. </rng>
  385. </devices>
  386. </domain>
  387.  
  388. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installertreemedia:212) Removing /home/metaldent/.cache/virt-manager/unattended/fedora.ks
  389. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installertreemedia:212) Removing /home/metaldent/.cache/virt-manager/boot/virtinst-vmlinuz.0tw7rmp2
  390. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installertreemedia:212) Removing /home/metaldent/.cache/virt-manager/boot/virtinst-initrd.img.8p2auwwa
  391. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installertreemedia:216) Removing volume 'virtinst-vmlinuz.0tw7rmp2'
  392. [Tue, 30 Apr 2019 11:34:06 virt-install 27061] DEBUG (installertreemedia:216) Removing volume 'virtinst-initrd.img.8p2auwwa'
  393. <domain type="kvm">
  394. <name>foobar</name>
  395. <uuid>13533b90-59ee-4eba-a818-5ab3b1e57cba</uuid>
  396. <metadata>
  397. <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  398. <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
  399. </libosinfo:libosinfo>
  400. </metadata>
  401. <memory>2097152</memory>
  402. <currentMemory>2097152</currentMemory>
  403. <vcpu>1</vcpu>
  404. <os>
  405. <type arch="x86_64" machine="q35">hvm</type>
  406. <kernel>/var/lib/libvirt/boot/virtinst-vmlinuz.0tw7rmp2</kernel>
  407. <initrd>/var/lib/libvirt/boot/virtinst-initrd.img.8p2auwwa</initrd>
  408. <cmdline>ks=file:/fedora.ks inst.repo=https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os</cmdline>
  409. </os>
  410. <features>
  411. <acpi/>
  412. <apic/>
  413. <vmport state="off"/>
  414. </features>
  415. <cpu mode="host-model"/>
  416. <clock offset="utc">
  417. <timer name="rtc" tickpolicy="catchup"/>
  418. <timer name="pit" tickpolicy="delay"/>
  419. <timer name="hpet" present="no"/>
  420. </clock>
  421. <on_reboot>destroy</on_reboot>
  422. <pm>
  423. <suspend-to-mem enabled="no"/>
  424. <suspend-to-disk enabled="no"/>
  425. </pm>
  426. <devices>
  427. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  428. <disk type="file" device="disk">
  429. <driver name="qemu" type="qcow2"/>
  430. <source file="/var/lib/libvirt/images/foobar.qcow2"/>
  431. <target dev="vda" bus="virtio"/>
  432. </disk>
  433. <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
  434. <interface type="network">
  435. <source network="default"/>
  436. <mac address="52:54:00:10:a6:1f"/>
  437. <model type="virtio"/>
  438. </interface>
  439. <console type="pty"/>
  440. <channel type="unix">
  441. <source mode="bind"/>
  442. <target type="virtio" name="org.qemu.guest_agent.0"/>
  443. </channel>
  444. <channel type="spicevmc">
  445. <target type="virtio" name="com.redhat.spice.0"/>
  446. </channel>
  447. <input type="tablet" bus="usb"/>
  448. <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
  449. <image compression="off"/>
  450. </graphics>
  451. <sound model="ich9"/>
  452. <video>
  453. <model type="qxl"/>
  454. </video>
  455. <redirdev bus="usb" type="spicevmc"/>
  456. <redirdev bus="usb" type="spicevmc"/>
  457. <rng model="virtio">
  458. <backend model="random">/dev/urandom</backend>
  459. </rng>
  460. </devices>
  461. </domain>
  462. <domain type="kvm">
  463. <name>foobar</name>
  464. <uuid>13533b90-59ee-4eba-a818-5ab3b1e57cba</uuid>
  465. <metadata>
  466. <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  467. <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
  468. </libosinfo:libosinfo>
  469. </metadata>
  470. <memory>2097152</memory>
  471. <currentMemory>2097152</currentMemory>
  472. <vcpu>1</vcpu>
  473. <os>
  474. <type arch="x86_64" machine="q35">hvm</type>
  475. <boot dev="hd"/>
  476. </os>
  477. <features>
  478. <acpi/>
  479. <apic/>
  480. <vmport state="off"/>
  481. </features>
  482. <cpu mode="host-model"/>
  483. <clock offset="utc">
  484. <timer name="rtc" tickpolicy="catchup"/>
  485. <timer name="pit" tickpolicy="delay"/>
  486. <timer name="hpet" present="no"/>
  487. </clock>
  488. <pm>
  489. <suspend-to-mem enabled="no"/>
  490. <suspend-to-disk enabled="no"/>
  491. </pm>
  492. <devices>
  493. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  494. <disk type="file" device="disk">
  495. <driver name="qemu" type="qcow2"/>
  496. <source file="/var/lib/libvirt/images/foobar.qcow2"/>
  497. <target dev="vda" bus="virtio"/>
  498. </disk>
  499. <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
  500. <interface type="network">
  501. <source network="default"/>
  502. <mac address="52:54:00:10:a6:1f"/>
  503. <model type="virtio"/>
  504. </interface>
  505. <console type="pty"/>
  506. <channel type="unix">
  507. <source mode="bind"/>
  508. <target type="virtio" name="org.qemu.guest_agent.0"/>
  509. </channel>
  510. <channel type="spicevmc">
  511. <target type="virtio" name="com.redhat.spice.0"/>
  512. </channel>
  513. <input type="tablet" bus="usb"/>
  514. <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
  515. <image compression="off"/>
  516. </graphics>
  517. <sound model="ich9"/>
  518. <video>
  519. <model type="qxl"/>
  520. </video>
  521. <redirdev bus="usb" type="spicevmc"/>
  522. <redirdev bus="usb" type="spicevmc"/>
  523. <rng model="virtio">
  524. <backend model="random">/dev/urandom</backend>
  525. </rng>
  526. </devices>
  527. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement