Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

support readonly rootfs #314

Merged
merged 1 commit into from
Jun 9, 2017
Merged

support readonly rootfs #314

merged 1 commit into from
Jun 9, 2017

Conversation

bergwolf
Copy link
Member

Also increase API version to mark this capability.

c->readonly = 1;
dbg_pr(stdout, "container rootfs is readonly\n");
}
i++;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

readOnly should be an option of the rootfs/image/volume rather than the option of the container.

@bergwolf bergwolf force-pushed the rootfs_ro branch 2 times, most recently from d782206 to d584e68 Compare June 8, 2017 08:46
Also increase API version to mark this capability.

rootfs is mounted ro when setting up container rootfs. Also change hyperstart to
not fail on creating non-critical files/dirs.

Signed-off-by: Peng Tao <[email protected]>
@laijs
Copy link
Contributor

laijs commented Jun 9, 2017

LGTM

@laijs laijs merged commit 9693004 into hyperhq:master Jun 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants