mirror of
https://github.com/kairos-io/immucore.git
synced 2025-09-12 21:21:31 +00:00
Allow setting root to RW (#53)
This patch allows setting the root mount as RW indicated by setting rd.cos.debugrw in the cmdline Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
@@ -28,7 +28,6 @@ var _ = Describe("mounting immutable setup", func() {
|
||||
Rootdir: "/",
|
||||
TargetImage: "/cOS/myimage.img",
|
||||
TargetLabel: "COS_LABEL",
|
||||
MountRoot: true,
|
||||
}
|
||||
|
||||
err := s.RegisterNormalBoot(g)
|
||||
@@ -40,7 +39,7 @@ var _ = Describe("mounting immutable setup", func() {
|
||||
|
||||
})
|
||||
It("generates normal dag with extra dirs", func() {
|
||||
s := &mount.State{Rootdir: "/", MountRoot: true,
|
||||
s := &mount.State{Rootdir: "/",
|
||||
OverlayDirs: []string{"/etc"},
|
||||
BindMounts: []string{"/etc/kubernetes"},
|
||||
CustomMounts: map[string]string{"COS_PERSISTENT": "/usr/local"}}
|
||||
|
Reference in New Issue
Block a user