[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Launching a Debian Xen Guest using a nfs://.../preseed.cfg fails -- Does required nfs:// support exist?



On Wed, Apr 21, 2010 at 10:14 PM, Christian PERRIER <bubulle@debian.org> wrote:
> So, back to your remark: there is no decision instance, in Debian, to
> take a  "supreme" decision and say to our users (who are always seen
> as potential contributors) "OK, you're told, there will never be NFS
> supprot for preseeding"...and I don't really doubt that someone coming
> with a fully-working implementation would have string arguments in a
> discussion.
>
> After all, this is mostly how the graphical installer project started
> a few years ago..:-)

Thanks for the comments; they're noted!  Always a bit jarring to have
the first answers to your first question be, basically, "why? do
something else!", "not very important", or, simply, "no". So, we'll
see ...

> Any reason why you cannot use a HTTP or FTP server for preseeding?

Simply to "see it work" for me locally, and not as a solution we
can/will roll-out, I tried the http:// alternative.

ls preseed.cfg
    preseed.cfg

wget http://mongoose.googlecode.com/files/mongoose-2.8.tgz
tar zxvf mongoose-2.8.tgz
cd mongoose
make linux
./mongoose -ports 80 &

ps ax | grep mongoose
  7012 pts/0    S<l    0:00 ./mongoose -ports 80
  8514 pts/0    S<+    0:00 grep mongoose

wget -O result.cfg http://127.0.0.1/preseed.cfg
cat result.cfg
	d-i debian-installer/locale string en_US
	d-i console-keymaps-at/keymap select us
	
	d-i netcfg/choose_interface select eth0
	d-i netcfg/disable_dhcp boolean true
	d-i netcfg/dhcp_options select Configure network manually
	d-i netcfg/confirm_static boolean true
	...

xm create \
 -c ./xm-debian.cfg \
 install=true \
 install-method="network" \
 install-mirror=ftp://ftp.us.debian.org/debian \
 install-arch=amd64 \
 install-suite=squeeze \
 install-kernel=./vmlinuz \
 install-ramdisk=./initrd.gz \
 install-extra="preseed/url=http://127.0.0.1/preseed.cfg";

launches the Guest, but proceeds -- as with nfs:// -- to completely
ignore the pressed file, now clearly made available over http://.

Not very encouraging from my end ...  What am I doing wrong now?

BenDJ


Reply to: