Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopeng163 committed Dec 9, 2020
2 parents 7beaf79 + 1789fe5 commit be22b37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/source/docker/docker-ovs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ on host 1
ubuntu@docker-node1:~$ sudo ovs-vsctl add-port br-int gre0 -- \
set interface gre0 type=gre options:remote_ip=192.168.205.11
on host 1
on host 2

.. code-block:: bash
Expand Down
10 changes: 5 additions & 5 deletions docs/source/lab-environment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ we will use vagrant to create one linux virtual machine and install docker autom
$ git clone https://github.com/xiaopeng163/docker-k8s-lab
$ cd docker-k8s-lab/lab/docker/single-node
There are two kinds of Linux, one is Ubuntu16.04, and one is CentOS7, please chose one, for example
There are two kinds of Linux, one is Ubuntu18.04, and one is CentOS7, please chose one, for example

.. code-block:: bash
Expand Down Expand Up @@ -76,15 +76,15 @@ Vagrant with two node docker engine
$ vagrant up
Bringing machine 'docker-node1' up with 'virtualbox' provider...
Bringing machine 'docker-node2' up with 'virtualbox' provider...
==> docker-node1: Importing base box 'ubuntu/xenial64'...
==> docker-node1: Importing base box 'ubuntu/bionic64'...
==> docker-node1: Matching MAC address for NAT networking...
==> docker-node1: Checking if box 'ubuntu/xenial64' is up to date...
==> docker-node1: Checking if box 'ubuntu/bionic64' is up to date...
......
The first time you run ``vagrant up`` will take some time to finished creating the virtual machine, and the time will depend on
your network connection situation.
It will create two ubuntu 16.04 VMs based on the base box from the internet, and provision them.
It will create two ubuntu 18.04 VMs based on the base box from the internet, and provision them.
We can use ``vagrant ssh`` to access each node:
Expand All @@ -100,7 +100,7 @@ We can use ``vagrant ssh`` to access each node:
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
$ vagrant ssh docker-node1
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-51-generic x86_64)
Welcome to Ubuntu 18.04 LTS (GNU/Linux 4.4.0-51-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
Expand Down

0 comments on commit be22b37

Please sign in to comment.