git.samba.org
/
obnox
/
vagrant
/
vagrant-lxc-base-boxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76cbb0f
)
improve systemd preparations: remove /dev/kmsg inside the container
author
Michael Adam
<obnox@samba.org>
Thu, 8 Jan 2015 22:43:04 +0000
(23:43 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 7 Dec 2015 09:44:06 +0000
(10:44 +0100)
This is to cope with containers that have been created
not systemd-aware.
common/download.sh
patch
|
blob
|
history
diff --git
a/common/download.sh
b/common/download.sh
index 92248e2af7c4e845eeb43bf28e7cbde70039b9bd..6204ed9a8480d5c2dfbaf556cf184b300f3b0859 100755
(executable)
--- a/
common/download.sh
+++ b/
common/download.sh
@@
-60,6
+60,8
@@
then
echo "lxc.kmsg = 0" >> /var/lib/lxc/${CONTAINER}/config
echo "lxc.autodev = 1" >> /var/lib/lxc/${CONTAINER}/config
utils.lxc.start
+ utils.lxc.attach rm -f /dev/kmsg
+ utils.lxc.stop
fi
log "Container created!"