summaryrefslogtreecommitdiffstats
path: root/share/doc/HOST-SETUP.txt
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-10-25 13:13:01 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-10-25 13:13:01 +0000
commit07357f5916ea7380a6008b6e29d50c1889311491 (patch)
treed9f0c5fa35941b7484aaf575cc1aac90d7ac4b20 /share/doc/HOST-SETUP.txt
parentReleasing debian version 20160801-1. (diff)
downloadopen-infrastructure-compute-tools-07357f5916ea7380a6008b6e29d50c1889311491.tar.xz
open-infrastructure-compute-tools-07357f5916ea7380a6008b6e29d50c1889311491.zip
Merging upstream version 20161101.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'share/doc/HOST-SETUP.txt')
-rw-r--r--share/doc/HOST-SETUP.txt21
1 files changed, 14 insertions, 7 deletions
diff --git a/share/doc/HOST-SETUP.txt b/share/doc/HOST-SETUP.txt
index f3d813a..a5aca94 100644
--- a/share/doc/HOST-SETUP.txt
+++ b/share/doc/HOST-SETUP.txt
@@ -75,10 +75,8 @@ iface eth0 inet manual
auto br0
iface br0 inet static
address 10.0.0.2
- broadcast 10.0.0.255
gateway 10.0.0.1
netmask 255.255.255.0
- network 10.0.0.0
pre-up ifconfig eth0 down
pre-up ifconfig eth0 up
@@ -105,9 +103,7 @@ iface eth0 inet dhcp
auto br0
iface br0 inet static
address 10.0.0.1
- broadcast 10.0.0.255
netmask 255.255.255.0
- network 10.0.0.0
pre-up brctl addbr br0
post-down brctl delbr br0
@@ -154,16 +150,27 @@ iface bond0.100 inet manual
auto br100
iface br100 inet static
address 10.100.0.2
- broadcast 10.100.0.255
#gateway 10.100.0.1
netmask 255.255.255.0
- network 10.100.0.0
post-up ip route add 10.100.0.0/24 via 10.100.0.1 dev br100
- post-down ip route del 147.87.226.0/24 dev br100
+ post-down ip route del 10.100.0.0/24 dev br100
bridge_ports bond0.100
bridge_fd 0
bridge_maxwait 0
bridge_stp 0
EOF
+
+
+4. Enabling container-shell
+---------------------------
+
+Managing containers requires root privileges. In order to allow unprivileged
+users to manage containers without granting them privileges or accounts,
+the container-shell can be used together with sudo and a container user.
+
+ sudo adduser --gecos "container-tools,,," \
+ --home /var/lib/machines/container-tools \
+ --shell /usr/bin/container-shell \
+ --no-create-home container