From: Timothy Redaelli Date: Mon, 20 Mar 2017 16:14:49 +0000 (+0100) Subject: Documentation: Fix the ovs-ifup and ovs-ifdown examples in kvm.rst X-Git-Tag: v2.12.3~3652 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5fcaba403bbbdd59174cc9c0dd8732ce9589e554;p=mirror_ovs.git Documentation: Fix the ovs-ifup and ovs-ifdown examples in kvm.rst Signed-off-by: Timothy Redaelli Signed-off-by: Ben Pfaff --- diff --git a/Documentation/howto/kvm.rst b/Documentation/howto/kvm.rst index 4b43af334..29732a9b3 100644 --- a/Documentation/howto/kvm.rst +++ b/Documentation/howto/kvm.rst @@ -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