Mount oem by label

Signed-off-by: Itxaka <itxaka@spectrocloud.com>
This commit is contained in:
Itxaka
2023-02-09 10:50:30 +01:00
parent d0816bb7e3
commit 645d0a428a

View File

@@ -439,7 +439,7 @@ func (s *State) Register(g *herd.Graph) error {
mountRootCondition,
herd.WithCallback(
s.MountOP(
runtime.OEM.Name,
fmt.Sprintf("/dev/disk/by-label/%s", runtime.OEM.Label),
s.path("/oem"),
runtime.OEM.Type,
[]string{