==> Virt package install setup <== ###################### $ yum install libvirt-daemon-kvm libvirt-daemon-config-network libvirt-daemon-config-nwfilter -y $ yum install python-virtinst -y $ yum install libguestfs libguestfs-tools libguestfs-tools-c -y $ yum install virt-viewer -y ###################### ==> kvm-ok <== ###################### [root@neon ~]# virt-host-validate QEMU: Checking for hardware virtualization : PASS QEMU: Checking for device /dev/kvm : PASS QEMU: Checking for device /dev/vhost-net : PASS QEMU: Checking for device /dev/net/tun : PASS LXC: Checking for Linux >= 2.6.26 : PASS [root@neon ~]# ####################### ==>libvirtd status <== ####################### [root@neon ~]# systemctl status libvirtd.service libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled) Active: active (running) since Thu, 12 Apr 2012 10:12:40 +0530; 11min ago Main PID: 569 (libvirtd) CGroup: name=systemd:/system/libvirtd.service ├ 569 /usr/sbin/libvirtd └ 816 /sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --... Apr 12 10:12:41 neon.pnq.redhat.com dnsmasq[816]: read /etc/hosts - 2 addresses Apr 12 10:16:42 neon.pnq.redhat.com dnsmasq[816]: reading /etc/resolv.conf Apr 12 10:16:42 neon.pnq.redhat.com dnsmasq[816]: using nameserver 209.132.183.2#53 Apr 12 10:16:42 neon.pnq.redhat.com dnsmasq[816]: using nameserver 209.132.176.100#53 Apr 12 10:16:42 neon.pnq.redhat.com dnsmasq[816]: using nameserver 209.132.186.218#53 Apr 12 10:16:55 neon.pnq.redhat.com dnsmasq[816]: no servers found in /etc/resolv.conf, will retry Apr 12 10:17:38 neon.pnq.redhat.com dnsmasq[816]: reading /etc/resolv.conf Apr 12 10:17:38 neon.pnq.redhat.com dnsmasq[816]: using nameserver 209.132.183.2#53 Apr 12 10:17:38 neon.pnq.redhat.com dnsmasq[816]: using nameserver 209.132.176.100#53 Apr 12 10:17:38 neon.pnq.redhat.com dnsmasq[816]: using nameserver 209.132.186.218#53 [root@neon ~]# ####################### ==> osinfo-detect <== ####################### [root@neon ~]# export OSNAME=Fedora-16-x86_64-Live-Desktop [root@neon ~]# osinfo-detect /var/lib/libvirt/images/Fedora-16-x86_64-Live-Desktop.iso Media is bootable. Media is an installer for OS 'Fedora 16' Media is live media for OS 'Fedora 16' [root@neon ~]# ####################### ==> isoinfo <== ####################### [root@neon ~]# osinfo-detect /var/lib/libvirt/images/Fedora-16-x86_64-Live-Desktop.iso Media is bootable. Media is an installer for OS 'Fedora 16' Media is live media for OS 'Fedora 16' [root@neon ~]# isoinfo -d -i /var/lib/libvirt/images/Fedora-16-x86_64-Live-Desktop.iso CD-ROM is in ISO 9660 format System id: LINUX Volume id: Fedora-16-x86_64-Live-Desktop.is Volume set id: Publisher id: Data preparer id: Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM Copyright File id: Abstract File id: Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 309102 El Torito VD version 1 found, boot catalog is in sector 40 Joliet with UCS level 3 found Rock Ridge signatures version 1 found Eltorito validation header: Hid 1 Arch 0 (x86) ID '' Key 55 AA Eltorito defaultboot header: Bootid 88 (bootable) Boot media 0 (No Emulation Boot) Load segment 0 Sys type 0 Nsect 4 Bootoff 29 41 [root@neon ~]# ####################### ==> Post Install First Boot<== ####################### [root@neon export]# virsh console f17test1 Connected to domain f17test1 Escape character is ^] Fedora release 17 (Beefy Miracle) Kernel 3.3.0-1.fc17.x86_64 on an x86_64 (ttyS0) f17test1 login: root Password: Last login: Thu Apr 12 12:47:15 on ttyS0 [root@f17test1 ~]# ping google.com PING google.com (74.125.79.100) 56(84) bytes of data. 64 bytes from ey-in-f100.1e100.net (74.125.79.100): icmp_req=1 ttl=39 time=402 ms 64 bytes from ey-in-f100.1e100.net (74.125.79.100): icmp_req=2 ttl=39 time=404 ms --- google.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 402.724/403.754/404.785/1.210 ms [root@f17test1 ~]# cat /etc/redhat-release Fedora release 17 (Beefy Miracle) [root@f17test1 ~]# #######################