Implement LUKS container mount

This commit is contained in:
AlexSSD7 2023-09-27 14:49:48 +01:00
commit e25069e1f3
3 changed files with 35 additions and 9 deletions

View file

@ -93,9 +93,9 @@ func RunVM(vi *vm.VM, initFileManager bool, tapRuntimeCtx *share.NetTapRuntimeCo
return 1
case <-vi.SSHUpNotifyChan():
if fm != nil {
err := fm.Init()
err := fm.InitLVM()
if err != nil {
slog.Error("Failed to initialize File Manager", "error", err.Error())
slog.Error("Failed to initialize File Manager LVM", "error", err.Error())
return 1
}
}