summaryrefslogtreecommitdiffstats
path: root/doc/source
diff options
context:
space:
mode:
authorMORITA Kazutaka <morita.kazutaka@gmail.com>2011-05-13 21:07:48 +0900
committerMORITA Kazutaka <morita.kazutaka@gmail.com>2011-05-13 21:07:48 +0900
commit2ecfa05337e7eefbf9791188ffa1d57f0e6ecd19 (patch)
tree442bf5218c6a7f48197875da388cfc2bf3406a62 /doc/source
parentaad857a18153792d96f300732c3bb5bb16aa02c3 (diff)
parent0576766cdf3480ad02159671d2dfc0bdcb154934 (diff)
Merge trunk
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/_theme/layout.html2
-rw-r--r--doc/source/devref/cloudpipe.rst8
-rw-r--r--doc/source/devref/down.sh (renamed from doc/source/down.sh)0
-rw-r--r--doc/source/devref/interfaces17
-rw-r--r--doc/source/devref/up.sh (renamed from doc/source/up.sh)0
5 files changed, 25 insertions, 2 deletions
diff --git a/doc/source/_theme/layout.html b/doc/source/_theme/layout.html
index 0a37a7943..b28edb364 100644
--- a/doc/source/_theme/layout.html
+++ b/doc/source/_theme/layout.html
@@ -73,7 +73,7 @@
<script type="text/javascript">$('#searchbox').show(0);</script>
<p class="triangle-border right">
- Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read <a href="http://nova.openstack.org/2011.1">Nova 2011.1 docs</a> or <a href="http://docs.openstack.org">all OpenStack docs</a> too.
+ Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read <a href="http://nova.openstack.org/2011.2">Nova 2011.2 docs</a> or <a href="http://docs.openstack.org">all OpenStack docs</a> too.
</p>
{%- endif %}
diff --git a/doc/source/devref/cloudpipe.rst b/doc/source/devref/cloudpipe.rst
index 95570aa1b..15d3160b7 100644
--- a/doc/source/devref/cloudpipe.rst
+++ b/doc/source/devref/cloudpipe.rst
@@ -62,12 +62,18 @@ Making a cloudpipe image is relatively easy.
:language: bash
:linenos:
-# download and run the payload on boot from /etc/rc.local.
+# download and run the payload on boot from /etc/rc.local
.. literalinclude:: rc.local
:language: bash
:linenos:
+# setup /etc/network/interfaces
+
+.. literalinclude:: interfaces
+ :language: bash
+ :linenos:
+
# register the image and set the image id in your flagfile::
--vpn_image_id=ami-xxxxxxxx
diff --git a/doc/source/down.sh b/doc/source/devref/down.sh
index 5c1888870..5c1888870 100644
--- a/doc/source/down.sh
+++ b/doc/source/devref/down.sh
diff --git a/doc/source/devref/interfaces b/doc/source/devref/interfaces
new file mode 100644
index 000000000..b7116aeb7
--- /dev/null
+++ b/doc/source/devref/interfaces
@@ -0,0 +1,17 @@
+# This file describes the network interfaces available on your system
+# and how to activate them. For more information, see interfaces(5).
+
+# The loopback network interface
+auto lo
+iface lo inet loopback
+
+# The primary network interface
+auto eth0
+iface eth0 inet manual
+ up ifconfig $IFACE 0.0.0.0 up
+ down ifconfig $IFACE down
+
+auto br0
+iface br0 inet dhcp
+ bridge_ports eth0
+
diff --git a/doc/source/up.sh b/doc/source/devref/up.sh
index 073a58e15..073a58e15 100644
--- a/doc/source/up.sh
+++ b/doc/source/devref/up.sh