mirror of
https://github.com/hsoft/vagrant-lxc-base-boxes
synced 2024-05-15 03:36:30 +00:00
improve systemd preparations: remove /dev/kmsg inside the container
This is to cope with containers that have been created not systemd-aware.
This commit is contained in:
parent
76cbb0fc89
commit
381fafc041
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue