2012/1/18 Bruno Gruel <b.gruel%sdnet.info@localhost>:
Can you describe the problems you are having?
Can you post the DomU configuration file?
re,
Here is a sample config file. I try a lot of combinaison (with or
witout
kickstar file ..)
import os, re
arch = os.uname()[4]
kernel = "/etc/xen/vmlinuz"
ramdisk = "/etc/xen/initrd.img"
builder='linux'
memory = 512
shadow_memory = 8
name = "NUXEO57"
vif = [ 'type=ioemu, bridge=bridge0, model=ne2k_pci' ]
disk = [ 'file:/VM/linux.img,xvda,w',
'file:/VM/centos57.iso,xvdc:cdrom,r' ]
device_model = '/usr/pkg/libexec/qemu-dm'
vfb = ["type=vnc, keymap=fr"]
boot="dc"
vnc=1
vncconsole=1
Whow, this is quite strange, what I usually use (haven't tried it on
NetBSD with CentOS because I use Debian most of the time, but I think
it should work).
Download files from
http://mirror.centos.org/centos/6.2/os/x86_64/images/pxeboot/
Sample config file:
kernel = "/path/to/vmlinuz"
ramdisk = "/path/to/initrd.img"
name = "my_centos_domu"
memory = 512
vcpus = 1
vif = ['bridge=my_bridge']
disk = ['file:/path/to/my/img,xvda,w']
After that:
xm create -c /path/to/config
Once the system is installed, remove kernel and ramdisk options and
add:
bootloader = "pygrub"
That should do it (I think). Your config file looked like a mess
between a HVM and a PV domain.
Regards, Roger.