* Package list

!profile.packages mADD(xen-libs-3.0.3-94.el5_4.1)
!profile.packages mADD(kvm-kmod-2.6.30.1-1.phys)
!profile.packages mADD(xen-devel-3.0.3-94.el5_4.1)
!profile.packages mADD(qemu-kvm-0.11.0-1.phys)
!profile.packages mADD(qemu-img-0.10.5-1.el5.2)
!profile.packages mADD(libvirt-python-0.6.4-3.phys)
!profile.packages mADD(libvirt-devel-0.6.4-3.phys)
!profile.packages mADD(libvirt-0.6.4-3.phys)
!profile.packages mADD(qemu-0.10.5-1.el5.2)
!profile.packages mADD(qemu-common-0.10.5-1.el5.2)
!profile.packages mADD(qemu-user-0.10.5-1.el5.2)
!profile.packages mADD(qemu-system-ppc-0.10.5-1.el5.2)
!profile.packages mADD(qemu-system-mips-0.10.5-1.el5.2)
!profile.packages mADD(qemu-system-sh4-0.10.5-1.el5.2)
!profile.packages mADD(pulseaudio-libs-0.9.10-1.el5.3)
!profile.packages mADD(qemu-system-x86-0.10.5-1.el5.2)
!profile.packages mADD(qemu-system-sparc-0.10.5-1.el5.2)
!profile.packages mADD(qemu-system-cris-0.10.5-1.el5.2)
!profile.packages mADD(qemu-system-m68k-0.10.5-1.el5.2)
!profile.packages mADD(qemu-system-arm-0.10.5-1.el5.2)
!profile.packages mADD(virt-manager-0.5.3-10.el5)
!profile.packages mADD(python-virtinst-0.300.2-12.sl.1/noarch)

* Component conf

!profile.components                     mADD(libvirt)
!profile.version_libvirt                mSET(1)
!profile.packages                       mADD(lcfg-libvirt-0.0.1_dev-3/noarch)
!boot.services                          mADD(lcfg_libvirt)
!boot.stop_lcfg_libvirt                 mSET(5 restart)
!logserver.components                   mADD(libvirt)

* KVM bridging network

!network.interfaces     mREMOVE(eth0)

!file.files             mADD(eth0)
file.file_eth0          /etc/sysconfig/network-scripts/ifcfg-eth0
file.type_eth0          literal
file.mode_eth0          0644
!file.tmpl_eth0         mSET(DEVICE=eth0\nHWADDR=XX:XX:XX:XX:XX:XX\nONBOOT=yes\nBRIDGE=br0)

!file.files             mADD(br0)
file.file_br0           /etc/sysconfig/network-scripts/ifcfg-br0
file.type_br0           literal
file.mode_br0           0644
!file.tmpl_br0          mSET(DEVICE=br0\nTYPE=Bridge\nBOOTPROTO=dhcp\nONBOOT=yes)

* KVM guest example

!libvirt.hosttype               mSET(kvm)

!libvirt.vms    mADD(pe2900x1)

!libvirt.name_pe2900x1                  mSET(pe2900x1)
!libvirt.type_pe2900x1                  mSET(hvm)
!libvirt.uuid_pe2900x1                  mSET(56bcea35-a598-4ce8-97f1-02cba34e7205)
!libvirt.disks_pe2900x1                 mADD(root test)
!libvirt.diskname_pe2900x1_root         mSET(pe2900x1)
!libvirt.disksize_pe2900x1_root         mSET(32)
!libvirt.diskpath_pe2900x1_root         mSET(/guests)
!libvirt.diskname_pe2900x1_test         mSET(test)
!libvirt.disksize_pe2900x1_test         mSET(10)
!libvirt.diskpath_pe2900x1_test         mSET(/guests)
!libvirt.boot_pe2900x1                  mSET(no)
!libvirt.opts_pe2900x1                  mADD(vnc monitor)
!libvirt.optvalue_pe2900x1_vnc          mSET(1)
!libvirt.optvalue_pe2900x1_monitor      mSET(pty)

* KVM network sample

!libvirt.networking             mADD(routed)
!libvirt.nettype_routed         mSET(interface)
!libvirt.netname_routed         mSET(routed)
!libvirt.netuuid_routed         mSET(56bcea35-a598-4ce8-97f1-02acd24s5125)
!libvirt.bridgename_routed      mSET(virbr9)
!libvirt.mode_routed            mSET(route)
!libvirt.modedev_routed         mSET(eth0)
!libvirt.ipaddr_routed          mSET(192.168.1.0)
!libvirt.netmask_routed         mSET(255.255.255.0)
!libvirt.dhcpstart_routed       mSET(192.168.1.1)
!libvirt.dhcpend_routed         mSET(192.168.1.254)

-- Main.pkritika - 2009-12-02

Edit | Attach | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r2 - 2009-12-02 - pkritika
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback