Skip to content

Instantly share code, notes, and snippets.

@chianingwang
Created January 11, 2017 20:59
Show Gist options
  • Save chianingwang/312d6f0a35230884b15cc0d4cda964ab to your computer and use it in GitHub Desktop.
Save chianingwang/312d6f0a35230884b15cc0d4cda964ab to your computer and use it in GitHub Desktop.
name: ss-node
config:
raw.lxc: |-
lxc.cgroup.devices.allow = c 10:236 rwm
lxc.cgroup.devices.allow = b 252:* rwm
lxc.aa_profile = unconfined
security.privileged: "true"
description: ""
devices:
disk0:
major: "252"
minor: "0"
path: /dev/dm-0
type: unix-block
disk1:
major: "252"
minor: "1"
path: /dev/dm-1
type: unix-block
disk2:
major: "252"
minor: "2"
path: /dev/dm-2
type: unix-block
disk3:
major: "252"
minor: "3"
path: /dev/dm-3
type: unix-block
disk4:
major: "252"
minor: "4"
path: /dev/dm-4
type: unix-block
eth0:
name: eth0
nictype: bridged
parent: br0
type: nic
eth1:
name: eth1
nictype: bridged
parent: br1
type: nic
tun:
path: /dev/net/tun
type: unix-char
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment