summaryrefslogtreecommitdiffstats
path: root/share/doc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-04-18 09:24:21 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-08-11 08:48:22 +0000
commite1438c0cbad688d0ce72d07f5f7277b76cb937b3 (patch)
treee46f2cfaa9157a68c2a96803567fc1ba710f8ee3 /share/doc
parentSimplifying trap handling in debconf container create script. (diff)
downloadcompute-tools-e1438c0cbad688d0ce72d07f5f7277b76cb937b3.tar.xz
compute-tools-e1438c0cbad688d0ce72d07f5f7277b76cb937b3.zip
Updating interfaces example configuration in host-setup documentation.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/doc')
-rw-r--r--share/doc/HOST-SETUP.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/doc/HOST-SETUP.txt b/share/doc/HOST-SETUP.txt
index d2e4216..e413872 100644
--- a/share/doc/HOST-SETUP.txt
+++ b/share/doc/HOST-SETUP.txt
@@ -89,7 +89,7 @@ allow-hotplug bridge0
iface bridge0 inet static
address 10.0.0.2
gateway 10.0.0.1
- netmask 255.255.255.0
+ netmask 24
pre-up ip link set eno1 down
pre-up ip link set eno1 up
@@ -118,7 +118,7 @@ iface eno1 inet dhcp
allow-hotplug bridge0
iface bridge0 inet static
address 10.0.0.1
- netmask 255.255.255.0
+ netmask 24
pre-up ip link add name bridge0 type bridge
post-down ip link delete bridge0 type bridge
@@ -149,7 +149,7 @@ iface eno3 inet manual
allow-hotplug bond0
iface bond0 inet manual
- up ip link set bond0 0.0.0.0 up
+ up ip link set bond0 up
down ip link set bond0 down
slaves eno2 eno3
@@ -168,7 +168,7 @@ allow-hotplug br100
iface br100 inet static
address 10.100.0.2
#gateway 10.100.0.1
- netmask 255.255.255.0
+ netmask 24
post-up ip route add 10.100.0.0/24 via 10.100.0.1 dev br100
post-down ip route del 10.100.0.0/24 dev br100