summaryrefslogtreecommitdiffstats
path: root/share/doc/HOST-SETUP.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-10-06 10:00:33 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-10-13 12:58:03 +0000
commit71f9ec9e9bb47ae90bd563e8975f82ba79855ac6 (patch)
treefda159012bac1ad6d7678227bdcfd119fb5c7d8d /share/doc/HOST-SETUP.txt
parentUsing linux as fallback TERM in container list command. (diff)
downloadcompute-tools-71f9ec9e9bb47ae90bd563e8975f82ba79855ac6.tar.xz
compute-tools-71f9ec9e9bb47ae90bd563e8975f82ba79855ac6.zip
Using iproute instead of net-tools to setup interfaces.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/doc/HOST-SETUP.txt')
-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 e172ee3..a571ae7 100644
--- a/share/doc/HOST-SETUP.txt
+++ b/share/doc/HOST-SETUP.txt
@@ -82,8 +82,8 @@ iface bridge0 inet static
gateway 10.0.0.1
netmask 255.255.255.0
- pre-up ifconfig eno1 down
- pre-up ifconfig eno1 up
+ pre-up ip link set eno1 down
+ pre-up ip link set eno1 up
bridge_ports eno1
bridge_fd 0
@@ -140,8 +140,8 @@ iface eno3 inet manual
allow-hotplug bond0
iface bond0 inet manual
- up ifconfig bond0 0.0.0.0 up
- down ifconfig bond0 down
+ up ip link set bond0 0.0.0.0 up
+ down ip link set bond0 down
slaves eno2 eno3