poniedziałek, 29 października 2012

XEN - instalacja CentOS

CentOS 5.x

Konfiguracja VM:
name = "centos-5-install"
memory = "2048"
disk = [ 'phy:/dev/vm/xen-centos-install-root,xvda,w', 'phy:/dev/e.vm/xen-centos-install-swap,xvdb,w' ]
vif = [ 'mac=00:16:3e:4c:ec:4e, bridge=eth0, vifname=vmcinst' ]
vcpus=2
#on_reboot  = 'restart'
#on_crash   = 'restart'
#bootloader = 'pygrub'
 on_reboot  = 'shutdown'
on_crash   = 'shutdown'
kernel = "/boot/xen/vmlinuz"
ramdisk = "/boot/xen/initrd.img"
extra = "vnc vncpassword=YOURPSW headless ip=YOURIP netmask=X.X.X.X gateway=GATEWAYIP dns=X.X.X.X ksdevice=eth0 method=http://ftp.icm.edu.pl/pub/linux/distributions/centos/5.4/os/i386/ lang=en_US keymap=us"