Merge lp:~townsend/unity8-preview-lxc/fix-disable-autodev into lp:unity8-preview-lxc/stable

Proposed by Christopher Townsend
Status: Merged
Approved by: Stephen M. Webb
Approved revision: 46
Merged at revision: 49
Proposed branch: lp:~townsend/unity8-preview-lxc/fix-disable-autodev
Merge into: lp:unity8-preview-lxc/stable
Diff against target: 12 lines (+3/-0)
1 file modified
bin/unity8-lxc-setup (+3/-0)
To merge this branch: bzr merge lp:~townsend/unity8-preview-lxc/fix-disable-autodev
Reviewer Review Type Date Requested Status
Stephen M. Webb (community) Approve
Review via email: mp+251111@code.launchpad.net

Commit message

Disable the new autodev feature in LXC as it only creates a minimal /dev in the container and we need a full /dev.

To post a comment you must log in.
Revision history for this message
Stephen M. Webb (bregma) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/unity8-lxc-setup'
2--- bin/unity8-lxc-setup 2014-12-17 16:05:29 +0000
3+++ bin/unity8-lxc-setup 2015-02-26 16:12:55 +0000
4@@ -147,6 +147,9 @@
5 ## Allow nested containers
6 container.set_config_item("lxc.aa_profile", "lxc-container-default-with-nesting")
7
8+ ## Disable the lxc autodev
9+ container.append_config_item("lxc.autodev", "0")
10+
11 # Setup the /home bind-mount
12 container.append_config_item("lxc.mount.entry", "/home home none bind")
13

Subscribers

People subscribed via source and target branches

to all changes: