About Cannot find grub.cfg

2021-03-11 Diskussionsfäden Nilesh Wagh
I am trying to make. iso file and trying to install it on my system using
FAI...
But while installing it... There is an error about grub_efi/10-setup
getting failed...
Please do provide me an solution on this that i can do .ISO file
installation using FAI...


preserve_* options and luks partitions

2021-03-11 Diskussionsfäden Andrew Ruthven
Hey,

We're rebuilding some servers which have some encrypted LVs using luks
for storing data. I would really like to preserve these LVs over the
rebuild without needing to modify the disk_configs and deploying my own
fstab files.

I have tried setting preserve_lazy for them, but when I test this, the
encrypted volumes are recreated. Looking in Volumes.pm I found this:

} elsif ($config eq "CRYPT") {
  # We don't do preserve for encrypted partitions
  next;

Which is probably what I'm running into.

It would be really nice if we could preserve encrypted LVs. I'm already
copying the keys back into place, and the partitions don't need to be
mounted for the build phase.

Is the reason that setup-storage can't just leave these volumes alone
if they already exist?

Cheers,
Andrew

-- 
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud:   | This space intentionally left blank
 https://catalystcloud.nz |