Specify rootvg for vgcfgbackup
@@ -106,7 +106,7 @@ class UnmountOldrootState(OSEncryptionState):
sleep(3)
- self.command_executor.Execute('vgcfgbackup -f /volumes.lvm', True)
+ self.command_executor.Execute('vgcfgbackup -f /volumes.lvm rootvg', True)
self.command_executor.Execute('sed -i.bak \'s/sda2/mapper\/osencrypt/g\' /volumes.lvm', True)
self.command_executor.Execute('lvremove -f rootvg', True)
self.command_executor.Execute('vgremove rootvg', True)
