2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-01 09:07:36 +00:00

correct the example

This commit is contained in:
immarvin
2016-01-21 22:09:23 -05:00
parent c83c5df81c
commit 653593dd5c

View File

@@ -21,7 +21,7 @@ To demonstrate the steps to run xCAT in a Docker container, take a cluster with
Docker host: dockerhost1
The Docker host network interface facing the compute nodes: eth0
The IP address of eth0: 10.5.106.1/24
The IP address of eth0 on Docker host: 10.5.106.1/24
The customized docker bridge: br0
The docker container name running xCAT: xcatmn
The hostname of container xcatmn: xcatmn
@@ -41,10 +41,10 @@ Since the commands to create the bridge will break the network connection on "et
#!/bin/bash
brctl addbr br0
brctl setfd br0 0
ip addr del dev eth0 10.5.106.5/24
ip addr del dev eth0 10.5.106.1/24
brctl addif br0 eth0
ip link set br0 up
ip addr add dev br0 10.5.106.5/24
ip addr add dev br0 10.5.106.1/24
[root@dockerhost1 ~]# chmod +x /tmp/mkbridge
[root@dockerhost1 ~]# /tmp/mkbridge
@@ -112,9 +112,9 @@ First, download the "pipework" ::
git clone https://github.com/jpetazzo/pipework.git
install "pipework" by copying the script "pipework" to "/usr/local/bin/pipework" ::
install "pipework" by copying the script "pipework" to "/usr/bin/pipework" ::
cp pipework/pipework /usr/local/bin/pipework
cp pipework/pipework /usr/bin/pipework
Assign a static IP address for Docker container and attach it to the customized network bridge with ::