Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Changed: | ||||||||
< < | * Package list | |||||||
> > | Packages
* RPM - http://upload.packages.lcfg.ucs.ed.ac.uk/pkgs/devolved/world/sl5_64/rpms/lcfg-libvirt-0.1.2-1.noarch.rpm![]() * SRPM - http://upload.packages.lcfg.ucs.ed.ac.uk/pkgs/devolved/world/sl5_64/srpms/lcfg-libvirt-0.1.2-1.src.rpm ![]() * Schema - http://upload.packages.lcfg.ucs.ed.ac.uk/pkgs/devolved/world/sl5_64/rpms/lcfg-libvirt-defaults-s1-0.1.2-1.noarch.rpm ![]() | |||||||
Changed: | ||||||||
< < | 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) | |||||||
> > | #ifndef MDP_OPTIONS_LIBVIRT
#ifndef DENY_MDP_OPTIONS_LIBVIRT
#define MDP_OPTIONS_LIBVIRT
#ifdef OS_LINUX
profile.packages mADD(lcfg-libvirt-0.1.2-1/noarch)
/* Make sure we've got the Xen packagelist installed */
#include <lcfg/options/xen.h>
/* Need to install more recent version of libvirt for
* converting standard Xen config files to libvirt's XML */
profile.packages mEXTRA(+libvirt-python-0.6.4-3.phys)
profile.packages mEXTRA(+libvirt-devel-0.6.4-3.phys)
profile.packages mEXTRA(+libvirt-0.6.4-3.phys)
/* Add qemu package that the latest xen component depends on */
profile.packages mEXTRA(qemu-img-0.9.1-11.el5)
/* Pull in the default resources */
#include <mdp/defaults/libvirt.h>
libvirt.hosttype mSET(xen)
/* Add the required packages if running a minimal build */
profile.pkgcppopts mADD(-DXEN)
/* Instruct the kernel component to manage the xen type of kernel
symbolic links (for initrd, kernel, etc.) */
kernel.kerneltype mSET(xen)
/* Add GRUB stanzas (at the beginning) for the xen kernel (and xen
kernel single user) and set it to be default. Warning, these
settings assume a "standard" MDP GRUB config. See
'mdp/defaults/grub.h'. The PIE 'image-build-lcfg' script looks for
'xen' in the grub.menuitems_defaultboot resource, and if there is
one it then munges the menu.lst that the grub component created to
ensure it boots by default the 'disk1' entry, since the XEN kernel
isn't installed at first boot (it's not in the image). */
#ifdef MDP_DEFAULTS_GRUB
grub.menuitems_defaultboot mPREPEND(xen xensingle)
grub.root_defaultboot_xen (hd0,4)
grub.kernel_defaultboot_xen /boot/xen.gz
grub.modules_defaultboot_xen kernel initrd
grub.module_defaultboot_xen_kernel /boot/vmlinuz root=<%grub.kroot_defaultboot_disk1%> <%grub.kernelargs_defaultboot_disk1%>
grub.module_defaultboot_xen_initrd /boot/initrd.img
grub.boot_defaultboot_xen yes
grub.title_defaultboot_xen Scientific Linux (XEN)
grub.root_defaultboot_xensingle (hd0,4)
grub.kernel_defaultboot_xensingle /boot/xen.gz
grub.modules_defaultboot_xensingle kernel initrd
grub.module_defaultboot_xensingle_kernel /boot/vmlinuz root=<%grub.kroot_defaultboot_disk1single%> <%grub.kernelargs_defaultboot_disk1single%>
grub.module_defaultboot_xensingle_initrd /boot/initrd.img
grub.boot_defaultboot_xensingle yes
grub.title_defaultboot_xensingle Scientific Linux (XEN Single User)
#else
#error Must include mdp/defaults/grub.h before mdp/defaults/xen-host.h.
#endif /* MDP_DEFAULTS_GRUB */
/* FIXME: Temporarily remove the i386 version of libvirt which was
erroneously (at my and Panos' request) added to
lcfg_sl5_64_xen.rpms. Check if still needed after the 20080911???
release. */
#ifdef ARCH_X86_64
profile.packages mEXTRA(-i386/libvirt-*-*)
#endif /* ARCH_X86_64 */
#else
#error Only Linux clients can run libvirt.
#endif /* OS_LINUX */
#else
#pragma LCFG denied "mdp/options/libvirt.h"
#endif /* DENY_MDP_OPTIONS_LIBVIRT */
#else
#pragma LCFG seen "mdp/options/libvirt.h"
#endif /* MDP_OPTIONS_LIBVIRT */
/* eof */
For KVM host, the following header (libvirt_kvm.h) is required:
#ifndef MDP_OPTIONS_LIBVIRT #ifndef DENY_MDP_OPTIONS_LIBVIRT #define MDP_OPTIONS_LIBVIRT #ifdef OS_LINUX !profile.packages mADD(lcfg-libvirt-0.1.2-1/noarch) /* Get our default resources set */ #include <mdp/defaults/libvirt.h> /* Add some packages which are missing from the full build */ /* FIXME: Why don't we include the xen packagelist to get * most of these? */ !profile.packages mADD(libvirt) profile.packages_libvirt \ xen-libs-3.0.3-94.el5_4.1 \ kvm-kmod-2.6.30.1-1.phys \ xen-devel-3.0.3-94.el5_4.1 \ qemu-kvm-0.11.0-1.phys \ libvirt-python-0.6.4-3.phys \ libvirt-devel-0.6.4-3.phys \ libvirt-0.6.4-3.phys \ virt-manager-0.5.3-10.el5 \ python-virtinst-0.300.2-12.sl.1/noarch \ pulseaudio-libs-0.9.10-1.el5.3 \ /** lcfg-network-1.99.34_dev-23/noarch **/ !libvirt.hosttype mSET(kvm) #else #error Only Linux clients can run libvirt. #endif /* OS_LINUX */ #else #pragma LCFG denied "mdp/options/libvirt.h" #endif /* DENY_MDP_OPTIONS_LIBVIRT */ #else #pragma LCFG seen "mdp/options/libvirt.h" #endif /* MDP_OPTIONS_LIBVIRT */ /* eof */ | |||||||
Changed: | ||||||||
< < | - 22/12/09 | |||||||
> > | Having created the headers, they could be used by including them in the host's profile as bellow (one per host - they can't co-exist): | |||||||
Changed: | ||||||||
< < | A patch for lcfg-network was created to support the creation of bridge interfaces. The following should do the trick once a new release of the lcfg-network component will be availalbe: | |||||||
> > | #include <phys/options/epcc/libvirt_xen.h> #include <phys/options/epcc/libvirt_kvm.h>To have libvirt work effectively, it requires active bridge networking. lcfg-network supports this: | |||||||
!network.interfaces mADD(eth0 br0) | ||||||||
Line: 61 to 154 | ||||||||
!network.interfaces mADD(eth0 br0) | ||||||||
Added: | ||||||||
> > | ||||||||
network.hwaddr_eth0 mSET(XX:XX:XX:XX:XX:XX) | ||||||||
Added: | ||||||||
> > | network.ipaddr_eth0 DHCP | |||||||
network.bridge_eth0 br0 | ||||||||
Added: | ||||||||
> > | ||||||||
network.ipaddr_br0 DHCP network.type_br0 Bridge | ||||||||
Line: 67 to 164 | ||||||||
network.type_br0 Bridge | ||||||||
Changed: | ||||||||
< < | * KVM guest example | |||||||
> > | Virtual host example: | |||||||
Changed: | ||||||||
< < | libvirt.hosttype mSET(kvm) libvirt.vms mADD(pe2900x1) | |||||||
> > | libvirt.vms mADD(pe2900x1 pe2900x2) | |||||||
libvirt.name_pe2900x1 mSET(pe2900x1) libvirt.type_pe2900x1 mSET(hvm) | ||||||||
Changed: | ||||||||
< < | libvirt.uuid_pe2900x1 mSET(56bcea35-a598-4ce8-97f1-02cba34e7205) libvirt.disks_pe2900x1 mADD(root test) | |||||||
> > | libvirt.uuid_pe2900x1 mSET(56bcea35-a598-4ce8-97f1-02cba34e325) libvirt.disks_pe2900x1 mADD(root) | |||||||
libvirt.diskname_pe2900x1_root mSET(pe2900x1) libvirt.disksize_pe2900x1_root mSET(32) libvirt.diskpath_pe2900x1_root mSET(/guests) | ||||||||
Changed: | ||||||||
< < | libvirt.diskname_pe2900x1_test mSET(test) libvirt.disksize_pe2900x1_test mSET(10) libvirt.diskpath_pe2900x1_test mSET(/guests) libvirt.boot_pe2900x1 mSET(no) | |||||||
> > | libvirt.boot_pe2900x1 mSET(yes) | |||||||
libvirt.opts_pe2900x1 mADD(vnc monitor) libvirt.optvalue_pe2900x1_vnc mSET(1) libvirt.optvalue_pe2900x1_monitor mSET(pty) | ||||||||
Changed: | ||||||||
< < | libvirt.nethost_pe2900x1 mADD(vif1 vif2) libvirt.hostmac_pe2900x1_vif1 mSET(12:28:ad:12:1f:4d) libvirt.bridge_pe2900x1_vif1 mSET(br0) libvirt.netmode_pe2900x1_vif1 mSET(bridge) libvirt.hostmac_pe2900x1_vif2 mSET(23:12:cc:af:1s:1f) libvirt.bridge_pe2900x1_vif2 mSET(default) libvirt.netmode_pe2900x1_vif2 mSET(network) | |||||||
> > | libvirt.nethost_pe2900x1 mADD(vif1) libvirt.hostmac_pe2900x1_vif1 mSET(11:11:aa:cc:dd:ff) libvirt.bridge_pe2900x1_vif1 mSET(routed) libvirt.netmode_pe2900x1_vif1 mSET(network) libvirt.name_pe2900x2 mSET(pe2900x2) libvirt.type_pe2900x2 mSET(hvm) libvirt.uuid_pe2900x2 mSET(56bcea35-a598-4ce8-97f1-02aba24f2819) libvirt.disks_pe2900x2 mADD(root) libvirt.diskname_pe2900x2_root mSET(pe2900x2) libvirt.disksize_pe2900x2_root mSET(32) libvirt.diskpath_pe2900x2_root mSET(/guests) libvirt.opts_pe2900x2 mADD(vnc monitor) libvirt.optvalue_pe2900x2_vnc mSET(1) libvirt.optvalue_pe2900x2_monitor mSET(pty) libvirt.nethost_pe2900x2 mSET(vif1 vif2) libvirt.hostmac_pe2900x2_vif1 mSET(21:22:33:44:55:1c) libvirt.bridge_pe2900x2_vif1 mSET(routed) libvirt.netmode_pe2900x2_vif1 mSET(network) libvirt.hostmac_pe2900x2_vif2 mSET(22:2d:ab:21:2c:4a) libvirt.bridge_pe2900x2_vif2 mSET(default) libvirt.netmode_pe2900x2_vif2 mSET(network) libvirt.template_pe2900x2 mSET(/guests/pe2900x1.img) libvirt.partition_pe2900x2 mSET(1) | |||||||
Changed: | ||||||||
< < | * KVM network sample | |||||||
> > | Additional interface example: | |||||||
!libvirt.networking mADD(routed) !libvirt.nettype_routed mSET(interface) !libvirt.netname_routed mSET(routed) | ||||||||
Changed: | ||||||||
< < | 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.netuuid_routed mSET(56bcea35-a598-4ce8-97f1-12def24s5125) libvirt.bridgename_routed mSET(virbr19) libvirt.mode_routed mSET(nat) libvirt.ipaddr_routed mSET(192.168.7.1) | |||||||
libvirt.netmask_routed mSET(255.255.255.0) | ||||||||
Changed: | ||||||||
< < | libvirt.dhcpstart_routed mSET(192.168.1.1) libvirt.dhcpend_routed mSET(192.168.1.254) libvirt.nethost_routed mSET(host1 host2) libvirt.hostname_routed_host1 mSET(test) libvirt.hostmac_routed_host1 mSET(00:1E:C9:53:29:AD) libvirt.hostip_routed_host1 mSET(1.1.1.1) libvirt.hostname_routed_host2 mSET(test2) libvirt.hostmac_routed_host2 mSET(00:1E:C9:53:29:CD) libvirt.hostip_routed_host2 mSET(2.2.2.2) | |||||||
> > | libvirt.dhcpstart_routed mSET(192.168.7.2) libvirt.dhcpend_routed mSET(192.168.7.254) libvirt.activate_routed mSET(yes) | |||||||
Changed: | ||||||||
< < | * Xen guest sample | |||||||
> > | Virtual group example: | |||||||
Changed: | ||||||||
< < | libvirt.hosttype mSET(xen) | |||||||
> > | libvirt.virtualgroup mADD(cluster1) libvirt.groupmemory_cluster1 mSET(1024) libvirt.groupvcpus_cluster1 mSET(2) libvirt.groupnettype_cluster1 mSET(network) libvirt.groupbridge_cluster1 mSET(routed) | |||||||
Changed: | ||||||||
< < | libvirt.vms mADD(pe2900x1) | |||||||
> > | Storage pool example: | |||||||
Changed: | ||||||||
< < | 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.nethost_pe2900x1 mADD(vif1) libvirt.hostmac_pe2900x1_vif1 mSET(12:28:ad:12:1f:4d) libvirt.bridge_pe2900x1_vif1 mSET(xenbr0) libvirt.script_pe2900x1_vif1 mSET(vif-bridge) libvirt.netmode_pe2900x1_vif1 mSET(bridge) | |||||||
> > | !libvirt.storagepools mADD(testpool) !libvirt.pooltype_testpool mSET(dir) !libvirt.poolname_testpool mSET(testpool) !libvirt.pooluuid_testpool mSET(0ff699dd-a286-443d-a35a-31f00c9d82e7) !libvirt.targetPath_testpool mSET(/mnt/test) !libvirt.allocation_testpool mSET(200) !libvirt.capacity_testpool mSET(150) !libvirt.available_testpool mSET(100) !libvirt.targetOwner_testpool mSET(980) | |||||||
Deleted: | ||||||||
< < | -- Main.pkritika - 2009-12-02 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
* Package list | ||||||||
Line: 55 to 55 | ||||||||
file.tmpl_br0 mSET(DEVICE=br0\nTYPE=Bridge\nBOOTPROTO=dhcp\nONBOOT=yes) | ||||||||
Added: | ||||||||
> > | - 22/12/09
A patch for lcfg-network was created to support the creation of bridge interfaces. The following should do the trick once a new release of the lcfg-network component will be availalbe:
!network.interfaces mADD(eth0 br0) !network.hwaddr_eth0 mSET(XX:XX:XX:XX:XX:XX) !network.bridge_eth0 br0 !network.ipaddr_br0 DHCP !network.type_br0 Bridge | |||||||
* KVM guest example |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
* Package list | ||||||||
Line: 76 to 76 | ||||||||
libvirt.opts_pe2900x1 mADD(vnc monitor) libvirt.optvalue_pe2900x1_vnc mSET(1) libvirt.optvalue_pe2900x1_monitor mSET(pty) | ||||||||
Added: | ||||||||
> > | libvirt.nethost_pe2900x1 mADD(vif1 vif2) libvirt.hostmac_pe2900x1_vif1 mSET(12:28:ad:12:1f:4d) libvirt.bridge_pe2900x1_vif1 mSET(br0) libvirt.netmode_pe2900x1_vif1 mSET(bridge) libvirt.hostmac_pe2900x1_vif2 mSET(23:12:cc:af:1s:1f) libvirt.bridge_pe2900x1_vif2 mSET(default) libvirt.netmode_pe2900x1_vif2 mSET(network) | |||||||
* KVM network sample |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
* Package list | ||||||||
Line: 92 to 92 | ||||||||
libvirt.netmask_routed mSET(255.255.255.0) libvirt.dhcpstart_routed mSET(192.168.1.1) libvirt.dhcpend_routed mSET(192.168.1.254) | ||||||||
Added: | ||||||||
> > | libvirt.nethost_routed mSET(host1 host2)
libvirt.hostname_routed_host1 mSET(test)
libvirt.hostmac_routed_host1 mSET(00:1E:C9:53:29:AD)
libvirt.hostip_routed_host1 mSET(1.1.1.1)
libvirt.hostname_routed_host2 mSET(test2)
libvirt.hostmac_routed_host2 mSET(00:1E:C9:53:29:CD)
libvirt.hostip_routed_host2 mSET(2.2.2.2)
* Xen guest sample
!libvirt.hosttype mSET(xen) !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.nethost_pe2900x1 mADD(vif1) !libvirt.hostmac_pe2900x1_vif1 mSET(12:28:ad:12:1f:4d) !libvirt.bridge_pe2900x1_vif1 mSET(xenbr0) !libvirt.script_pe2900x1_vif1 mSET(vif-bridge) !libvirt.netmode_pe2900x1_vif1 mSET(bridge) | |||||||
-- Main.pkritika - 2009-12-02 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
* Package list | ||||||||
Line: 55 to 55 | ||||||||
file.tmpl_br0 mSET(DEVICE=br0\nTYPE=Bridge\nBOOTPROTO=dhcp\nONBOOT=yes) | ||||||||
Changed: | ||||||||
< < | * KVM example | |||||||
> > | * KVM guest example | |||||||
!libvirt.hosttype mSET(kvm) | ||||||||
Line: 72 to 72 | ||||||||
libvirt.diskname_pe2900x1_test mSET(test) libvirt.disksize_pe2900x1_test mSET(10) libvirt.diskpath_pe2900x1_test mSET(/guests) | ||||||||
Deleted: | ||||||||
< < | libvirt.vifs_pe2900x1 mADD(vif1) libvirt.mac_pe2900x1_vif1 mSET(00:15:17:34:62:01) | |||||||
libvirt.boot_pe2900x1 mSET(no) libvirt.opts_pe2900x1 mADD(vnc monitor) libvirt.optvalue_pe2900x1_vnc mSET(1) libvirt.optvalue_pe2900x1_monitor mSET(pty) | ||||||||
Added: | ||||||||
> > | * 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 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | * 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 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.vifs_pe2900x1 mADD(vif1) !libvirt.mac_pe2900x1_vif1 mSET(00:15:17:34:62:01) !libvirt.boot_pe2900x1 mSET(no) !libvirt.opts_pe2900x1 mADD(vnc monitor) !libvirt.optvalue_pe2900x1_vnc mSET(1) !libvirt.optvalue_pe2900x1_monitor mSET(pty)-- Main.pkritika - 2009-12-02 |