[...] > > 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
pgp2q1ljTueFW.pgp
Description: PGP signature
