mirror of
https://github.com/kairos-io/immucore.git
synced 2025-09-19 00:53:09 +00:00
🌱 activate LVM volumes at the start (#113)
This commit is contained in:
@@ -586,3 +586,10 @@ func (s *State) WaitForSysrootDagStep(g *herd.Graph) error {
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
||||
// LvmActivation will try to activate lvm volumes/groups on the system.
|
||||
func (s *State) LVMActivation(g *herd.Graph) error {
|
||||
return g.Add(cnst.OpLvmActivate, herd.WithCallback(func(ctx context.Context) error {
|
||||
return internalUtils.ActivateLVM()
|
||||
}))
|
||||
}
|
||||
|
Reference in New Issue
Block a user