Skip to content

Commit

Permalink
Documentation: Fix the ovs-ifup and ovs-ifdown examples in kvm.rst
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Redaelli <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
drizzt authored and blp committed Mar 20, 2017
1 parent e9f521b commit 5fcaba4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Documentation/howto/kvm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ make use of example Open vSwitch bridges that we'll describe in this guide.

Create the following two files and store them in known locations. For example::

echo << EOF > /etc/ovs-ifup
$ cat << 'EOF' > /etc/ovs-ifup
#!/bin/sh

switch='br0'
Expand All @@ -56,12 +56,13 @@ Create the following two files and store them in known locations. For example::

::

echo << EOF > /etc/ovs-ifdown
$ cat << 'EOF' > /etc/ovs-ifdown
#!/bin/sh

switch='br0'
/sbin/ifconfig $1 0.0.0.0 down
ovs-vsctl del-port ${switch} $1
EOF

The basic usage of Open vSwitch is described at the end of
:doc:`/intro/install/general`. If you haven't already, create a bridge named
Expand Down

0 comments on commit 5fcaba4

Please sign in to comment.