Commit b429f99b6debed141b94b73ed3172aacebdd66d7
1 parent
429bc4ce
Exists in
master
and in
90 other branches
centos6-vagrant-lxc: set lxc.autodev = 1
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
utils/centos6-vagrant-lxc/Makefile
@@ -20,7 +20,7 @@ rootfs: .$(BOX)-base | @@ -20,7 +20,7 @@ rootfs: .$(BOX)-base | ||
20 | sudo ./vagrant-setup rootfs | 20 | sudo ./vagrant-setup rootfs |
21 | 21 | ||
22 | lxc.conf: .$(BOX)-base | 22 | lxc.conf: .$(BOX)-base |
23 | - sed -e '/^lxc.rootfs\s*=/d' $(LXC_PATH)/$(BOX)-base/config > $@ || ($(RM) $@; false) | 23 | + sed -e '/^lxc.rootfs\s*=/d; s/lxc.autodev\s*=.*/lxc.autodev = 1/' $(LXC_PATH)/$(BOX)-base/config > $@ || ($(RM) $@; false) |
24 | 24 | ||
25 | .$(BOX)-base: | 25 | .$(BOX)-base: |
26 | sudo lxc-create -n $(BOX)-base $(TEMPLATE_ARGS) | 26 | sudo lxc-create -n $(BOX)-base $(TEMPLATE_ARGS) |