/
cube-cmd-server.conf
71 lines (60 loc) · 1.31 KB
/
cube-cmd-server.conf
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Configuration file for cube-cmd-server
# This configuration file follows a limited YAML format, with the
# structures found in this file currently supported.
# Templates of the form %label% are to be automatically replaced at
# rootfs build time with an actual value.
# command: a list of commands that are understood and processed
# by the command server.
#
# Each command is specified by name, and has the values
# action: and acl:
#
# action: is the command to execute on a command, options
# are ignore or <command>
#
# acl: is the list of containers that are allowed to issue
# the command
#
# monitor: the list of containers to monitor, it has one value "container:"
#
# container: the container name to monitor, or '*' for all containers
#
commands:
reboot:
acl:
- dom0
- cube-desktop
- cube-server
action: reboot
shutdown:
acl:
- dom0
- cube-desktop
- cube-server
action: shutdown
console:
acl: '*'
lxc:
acl:
- dom0
ls:
acl: '*'
nsenter:
acl:
- dom0
host_cmd:
acl:
- dom0
restart:
acl:
- dom0
- self
dom0:
monitor: '*'
commands: '*'
host:
monitor: dom0
commands:
- reboot
- shutdown
- lxc