setup-storage: set vgname to hostname

2009-09-24 Diskussionsfäden Darshaka Pathirana
Hi! I have the following disk_config-layout using setup-storage: , | disk_config sda bootable:1 fstabkey:uuid | primary /boot 250 ext3 rw | primary - 1500- - - | disk_config lvm | vg faiclient sda2 | faiclient-root / 250- ext3 rw,errors=remo

Re: setup-storage: set vgname to hostname

2009-09-24 Diskussionsfäden Thomas Lange
> On Thu, 24 Sep 2009 10:47:50 +0200, Darshaka Pathirana > said: > Is there a way to set the vg-name same as the current hostname? > Something like this (which does NOT work): > , > | disk_config sda bootable:1 fstabkey:uuid > | primary /boot 250 e

Re: setup-storage: set vgname to hostname

2009-09-24 Diskussionsfäden Thomas Neumann
> You can write a hook that replaces $HOSTNAME with the current > hostname. This is the easiest way. As a bonus: It even works! ;) tschüß thomas

Adding to $kernelmodules

2009-09-24 Diskussionsfäden John G. Heim
I am trying to load a module during installation. I found a note in the file FAIBASE.var that I can do that by adding the module name to $kernelmodules. But I'm not sure how to do that. I tried adding it in that same file as shown below but it does not work: # MODULESLIST contains modules that

Re: Adding to $kernelmodules

2009-09-24 Diskussionsfäden Thomas Lange
> On Thu, 24 Sep 2009 10:45:39 -0500, "John G. Heim" > said: > I am trying to load a module during installation. I found a note in the file > FAIBASE.var that I can do that by adding the module name to $kernelmodules. > But I'm not sure how to do that. I tried adding it

Providing Defaults to class/ scripts (was:: Adding to $kernelmodules)

2009-09-24 Diskussionsfäden Thomas Neumann
hiya > $kernelmodules is the right way to do this, but not in > FAIBASE.var. The variable is used in 20-hwdetect.source, which is > executed before FAIBASSE.var is sourced. You can just edit your > 20-hwdetect.source script and add modules there to $kernelmodules. Is there a "correct" way to prov