On Wed, Jul 06, 2011 at 12:51:21PM -0400, Ben Lipton wrote:
> * Change the /etc/fstab
> * Set network interfaces
> * Clear root password
> * Run a getty on hvc0
> 
> Also added a couple of necessary packages to EXTRA_PKGS in
> p2v-target.conf.in.
> 
[…]
> diff --git a/instance-p2v-target/p2v-target.conf.in 
> b/instance-p2v-target/p2v-target.conf.in
> new file mode 100644
> index 0000000..9d0bfa5
> --- /dev/null
> +++ b/instance-p2v-target/p2v-target.conf.in
> @@ -0,0 +1,64 @@
> +# ganeti-instance-debootstrap defaults file
> +
> +# if you want to change from the default of installing debian stable
> +# on the next instance, customize this file before the instance
> +# installation
> +
> +# PROXY: if non-null, use this as an http-proxy in order to speed up
> +# non-cached installs; not that if not set, debootstrap might still
> +# use a system-wide proxy setting if it is exported in the
> +# ganeti-noded daemon environment
> +# PROXY="http://proxy.example.com:3128/";
> +
> +# MIRROR: do not customize MIRROR if you want to be able to install
> +# both debian and ubuntu, since they have different defaults; or
> +# customize it before each install
> +# MIRROR="http://ftp.debian.org/debian";
> +
> +# ARCH: define ARCH only if you want a different architecture than the
> +# current one; the known use case is to install a 32-bit instance on a
> +# 64-bit node; choose either "i386" or "amd64":
> +# ARCH="i386"
> +
> +# SUITE: change suite to any of the ones supported by deboostrap; this
> +# could be unstable, etch, etc.:
> +# SUITE="squeeze"
> +
> +# EXTRA_PKGS: depending on the suite and architecture you are using, 
> different
> +# extra packages are needed for different hypervisors. For example:
> +#
> +# Xen, for etch/lenny i386:
> +# EXTRA_PKGS="linux-image-xen-686,libc6-xen"
> +# Xen, for etch/lenny amd64:
> +EXTRA_PKGS="linux-image-xen-amd64"

Why are you hardcoding this for Xen?

regards,
iustin

Reply via email to