Fix exit condition for EncryptBlockDevice
@@ -64,9 +64,6 @@ class EncryptBlockDeviceState(OSEncryptionState):
if not os.path.exists('/dev/mapper/osencrypt'):
self._find_bek_and_execute_action('_luks_open')
- self.command_executor.Execute('mount /dev/mapper/osencrypt /oldroot', True)
- self.command_executor.Execute('umount /oldroot', True)
-
return super(EncryptBlockDeviceState, self).should_exit()
def _luks_format(self, bek_path):
