setup-storage and preserving partitions

Michael Tautschnig mt at debian.org
Fri Jun 18 12:11:09 CEST 2010


[...]

> 
> I think I found the problem - I tried to redefine FAI_FLAGS using a
> hook, and append "initial" if no partition sda7 with ext4 filesystem can
> be found. That way I would not have to deal with changing boot setup for
> new clients, and I would really like to keep it that way
> 
> Appending to FAI_FLAGS seems to work, I get
> echo $FAI_FLAGS
> verbose sshd createvt reboot initial
> on the console after setup-storage dies,
> 
> but variables.log says
> FAI_FLAGS='verbose sshd createvt reboot'
> 
> If I append "initial" to FAI_FLAGS on the boot command line, everything
> works and variables.log says
> FAI_FLAGS='verbose sshd createvt reboot initial'
> 
> The hook I am using is called partition.MYCLASS.source.
> 

[...]

You don't need to care about FAI_FLAGS in fact; you should instead define 

flag_initial=1

(maybe needs export, don't know for sure) because this is what all the FAI_FLAGS
are turned into (and what setup-storage checks for).

HTH,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20100618/4f7bde0c/attachment.bin 


More information about the linux-fai mailing list