]> glassweightruler.freedombox.rocks Git - waydroid.git/blob - lxc-configs/config
ce4d72c76ac23a0cb74c89e6727a45f2ca48f2c6
[waydroid.git] / lxc-configs / config
1 #lxc.rootfs.path = loop:/home/alien/system.img
2 lxc.rootfs.path = /home/anbox/rootfs
3 lxc.utsname = anbox
4 lxc.arch = aarch64
5 lxc.autodev = 0
6 # lxc.autodev.tmpfs.size = 25000000
7 lxc.aa_profile = unconfined
8
9 lxc.init_cmd = /init
10
11 lxc.mount.auto = cgroup:ro sys:ro proc
12
13 lxc.network.type = veth
14 lxc.network.flags = up
15 lxc.network.link = lxcbr0
16 lxc.network.name = eth0
17 lxc.network.hwaddr = 00:16:3e:f9:d3:03
18 lxc.network.mtu = 1500
19
20 lxc.mount.entry = tmpfs dev tmpfs nosuid 0 0
21 lxc.mount.entry = /dev/zero dev/zero none bind,create=file,optional 0 0
22 #lxc.mount.entry = /dev/random dev/random none bind,create=file,optional 0 0
23 #lxc.mount.entry = /dev/null dev/null none bind,create=file,optional 0 0
24 lxc.mount.entry = /dev/full dev/full none bind,create=file,optional 0 0
25 lxc.mount.entry = /dev/ashmem dev/ashmem none bind,create=file,optional 0 0
26 lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file,optional 0 0
27
28 # necessary dev nodes (renamed)
29 lxc.mount.entry = /dev/anbox-binder dev/binder none bind,create=file 0 0
30 lxc.mount.entry = /dev/anbox-vndbinder dev/vndbinder none bind,create=file 0 0
31
32 # necessary device nodes (same name)
33 lxc.mount.entry = /dev/ashmem dev/ashmem none bind,create=file 0 0
34
35 #lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file 0 0
36 lxc.mount.entry = /dev/ion dev/ion none bind,create=file,optional 0 0
37
38 # temp - allow access to /dev/input
39 #lxc.mount.entry = /dev/input dev/input none bind,create=dir,optional 0 0
40 lxc.mount.entry = /sys/module/lowmemorykiller sys/module/lowmemorykiller none bind,create=dir,optional 0 0
41 # Mount /data - always /home/.android now
42 lxc.mount.entry = tmpfs mnt tmpfs mode=0755,uid=0,gid=1000
43
44 # useful device properties from the host
45 # lxc.mount.entry = /home/anbox/generated_props system/vendor/alien.prop none bind,create=file 0 0
46
47 # Xkb - required for on screen keyboard
48 # lxc.mount.entry = /usr/share/X11/xkb usr/share/X11/xkb none bind 0 0
49
50 # necessary device nodes for adb
51 lxc.mount.entry = none dev/pts devpts defaults,mode=644,ptmxmode=666,create=dir 0 0
52 lxc.mount.entry = /dev/uhid dev/uhid none bind,create=file,defaults,optional 0 0
53
54 lxc.include = /var/lib/lxc/anbox/bsp_config
55
56 lxc.hook.post-stop = /dev/null