0

I am setting up a system for testing software installations automatically. For that, I created an LVM snapshot of a fresh Debian installation. In this snapshot, I want to automatically install, configure and test the software installation, then create a new snapshot of the original Debian installation, boot into that, remove the old snapshot and repeat the installation/configuration/test cycle.

How can I do that switch of lvm-roots and reboot easily? Do I have to create new grub configurations each time? Or could I rename the LVM snapshots (while the system still runs in the active one) and have grub pick up the lvm-snapshot with the same name at boot?

0 Answers0