]> git.proxmox.com Git - mirror_ovs.git/commitdiff
Documentation: Fix the ovs-ifup and ovs-ifdown examples in kvm.rst
authorTimothy Redaelli <tredaelli@redhat.com>
Mon, 20 Mar 2017 16:14:49 +0000 (17:14 +0100)
committerBen Pfaff <blp@ovn.org>
Mon, 20 Mar 2017 16:22:32 +0000 (09:22 -0700)
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Documentation/howto/kvm.rst

index 4b43af3345435885cffa61ece04525e33329073a..29732a9b37eddbc5ace6d674620c217249a1b5cc 100644 (file)
@@ -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'
@@ -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