-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-config
executable file
·46 lines (34 loc) · 1.26 KB
/
sample-config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Template used to create this container: /usr/share/lxc/templates/lxc-gentoo-runtime
# Parameters passed to the template:
# For additional config options, please look at lxc.container.conf(5)
#lxc.network.type = empty
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = virbr0
lxc.network.ipv4 = 0.0.0.0/24
lxc.network.name = eth0
lxc.network.hwaddr = 00:16:3e:20:3e:71
lxc.network.mtu = 1500
lxc.rootfs = /etc/lxc/gentoo-runtime/rootfs
lxc.utsname = gentoo-runtime
lxc.autodev = 1
#lxc.mount.auto = proc:mixed sys
lxc.mount.auto = sys
lxc.tty = 1
lxc.pts = 1
### lxc-gentoo-runtime template stuff starts here
# sets container architecture
# If desired architecture != amd64 or x86, then we leave it unset as
# LXC does not oficially support anything other than x86 or amd64.
#
# set the hostname
#lxc.utsname = gentoo-runtime
#lxc.mount = /etc/lxc/gentoo-runtime/rootfs/etc/fstab
#
#lxc.mount.entry = /lib lib none ro,bind 0 0
#lxc.mount.entry = /usr/lib usr/lib none ro,bind 0 0
#lxc.mount.entry = /lib64 lib64 none ro,bind 0 0
#lxc.mount.entry = /usr/lib64 usr/lib64 none ro,bind 0 0
#lxc.mount.entry = /sys/kernel/security sys/kernel/security none ro,bind,optional 0 0
#lxc.mount.auto = proc:mixed sys
#lxc.include = /usr/share/lxc/config/gentoo.common.conf