bug: Setup / as shared mount on alpine (#445)

* 🐛 Setup / as shared mount on alpine

Since this is not handled in the boot process, we do this in our devoted file to setup the rootfs configuration

Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>

* 🐧 Correctly detect alpine flavors

Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>

Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>
This commit is contained in:
Ettore Di Giacinto
2022-11-25 20:38:19 +01:00
committed by Itxaka
parent ade95362cb
commit 8bf1babcce

View File

@@ -52,7 +52,7 @@ func Flavor() string {
func IsOpenRCBased() bool {
f := Flavor()
return f == "alpine" || f == "alpine-arm-rpi"
return strings.Contains(f, "alpine")
}
func GetInterfaceIP(in string) string {