Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cat /data/lxc/containers/cam2/config
- # Template used to create this container: /usr/share/lxc/templates/lxc-download
- # Parameters passed to the template:
- # For additional config options, please look at lxc.container.conf(5)
- # Uncomment the following line to support nesting containers:
- #lxc.include = /usr/share/lxc/config/nesting.conf
- # (Be aware this has security implications)
- # Distribution configuration
- lxc.include = /usr/share/lxc/config/common.conf
- # For Ubuntu 14.04
- lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none bind,optional 0 0
- lxc.mount.entry = /sys/kernel/security sys/kernel/security none bind,optional 0 0
- lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 0
- lxc.mount.entry = mqueue dev/mqueue mqueue rw,relatime,create=dir,optional 0 0
- lxc.arch = linux64
- # Container specific configuration
- lxc.rootfs.path = dir:/var/lib/lxc/cam2/rootfs
- lxc.uts.name = cam2
- # Network configuration
- lxc.net.0.type = veth
- lxc.net.0.link = br-local
- lxc.net.0.flags = up
- lxc.net.0.hwaddr = 10:00:00:00:00:56
- #fuse
- lxc.cgroup.devices.allow = c 10:229 rwm
- # dev fs
- lxc.autodev = 1
- lxc.hook.autodev = sh -c "mknod -m 0666 ${LXC_ROOTFS_MOUNT}/dev/fuse c 10 229"
- lxc.mount.entry=/data/disk /var/lib/lxc/cam2/rootfs/data/disk none bind 0 0
Add Comment
Please, Sign In to add comment