XEN

$ aptitude install xen-linux-system-2.6.18-6-xen-686 xen-hypervisor xen-tools

/etc/xen-tools/xen-tools.conf
dir = /home/xen
debootstrap = 1
size   = 4Gb      # Disk image size.
memory = 128Mb    # Memory size
swap   = 128Mb    # Swap size
fs     = ext3     # use the EXT3 filesystem for the disk image.
dist   = etch     # Default distribution to install.
image  = sparse   # Specify sparse vs. full disk images.
gateway   = 192.168.57.1
netmask   = 255.255.255.0
kernel = /boot/vmlinuz-2.6.18-6-xen-vserver-686
initrd = /boot/initrd.img-2.6.18-6-xen-vserver-686
mirror = http://ftp.de.debian.org/debian/

/etc/xen/xend-config.sxp
(network-script 'network-bridge antispoof=yes')
(vif-script vif-bridge)
(dom0-cpus 0)

$ mkdir /home/xen
$ xen-create-image --hostname=foo --ip=192.168.57.30
$ xm create /etc/xen/foo.cfg
© 2001 - 2024 Frank Remetter