Yep ! Here is a quick step by step on how to that:
1. download "vmlinuz" and "initrd.img" for a pxeboot install of centos from the mirrors and put them on the same path on all of your nodes.
2. Create an Ganeti XEN-PV instance:<code>
gnt-instance add --debug --disk-template drbd --os-type debootstrap+default --net 0:link=xen-br0 --disk 0:size=5G --backend-parameters memory=512 --hypervisor-parameters kernel_path=/boot/distributions/centos/6/x86_64/vmlinuz,initrd_path=/boot/distributions/centos/6/x86_64/initrd.img,kernel_args="console=hvc0" --no-install --no-start --node gnt-node-1:gnt-node-2 gnt-instance-1
</code>
The important settings are the ''kernel_path'' and ''initrd_path'' as Iustin pointed out but also the ''kernel_args'' options which tells to the CentOS installer to use XEN PV console (aka hvc0) as the serial console.
3. Start the instance: <code>
gnt-instance start gnt-instance-1
</code>
4. connect to the instance console <code>
gnt-instance console gnt-instance-1
</code>
5. Voilà !
NB: If you want access to the complete installer, you'll have to a graphical Xen-PV installation: see below
For a graphical CentOS XEN-PV installation, just:
- at step 2, just add "vnc" to the kernel_args options: kernel_args="console=hvc0 vnc" . You can also add a "vncpassword" option to secure a bit the access to the installer iirc...
- At step 4, connect to the instance console to get the ip and port on which anaconda is listening.
Then start a vnc client to connect to it from your desktop
@Iustin: Wish that some basic info for guest installation besides debian was there on the wiki, , especially XEN HVM installation (Windows, BSD*...) or XEN PV installation from CD/DVD for Linux instances.
This is really not that evident for newcomers, especially for those choosing the Xen hypervisor :-)
HTH,
Thanks