Some bugfixes for User Guide
- structural XMLfixes Change-Id: Ieebe357de841356b40c5f2456763e69e6514d672 Closes-Bug: #1419015 Closes-Bug: #1418998 Closes-Bug: #1419003
This commit is contained in:
parent
a43c87cb13
commit
2db999438d
@ -121,7 +121,7 @@
|
||||
</section>
|
||||
<section xml:id="update_stack">
|
||||
<title>Update a stack</title>
|
||||
<para xml:id="heat-stack-update">To update an existing stack from a modified
|
||||
<para>To update an existing stack from a modified
|
||||
template file, run a command like the following
|
||||
command:</para>
|
||||
<screen><prompt>$</prompt> <userinput>heat stack-update mystack --template-file /path/to/heat/templates/WordPress_Single_Instance_v2.template</userinput>
|
||||
|
@ -151,13 +151,13 @@
|
||||
<para>To allow SSH access to the instances, choose one of the
|
||||
following options:</para>
|
||||
<itemizedlist>
|
||||
<listitem xml:id="sec_group_rule_add">
|
||||
<listitem>
|
||||
<para>Allow access from all IP addresses, specified as
|
||||
IP subnet <filename>0.0.0.0/0</filename> in CIDR
|
||||
notation:</para>
|
||||
<screen><prompt>$</prompt> <userinput>nova secgroup-add-rule <replaceable>SECURITY_GROUP_NAME</replaceable> tcp 22 22 0.0.0.0/0</userinput></screen>
|
||||
</listitem>
|
||||
<listitem xml:id="sec_group_rule_add_alt">
|
||||
<listitem>
|
||||
<para>Allow access only from IP addresses from other
|
||||
security groups (source groups) to access the
|
||||
specified port:</para>
|
||||
|
@ -194,8 +194,6 @@ from novaclient.client import Client</programlisting>
|
||||
<literal>server_exists</literal> to
|
||||
<literal>True</literal> and break from
|
||||
the for loop:</para>
|
||||
</step>
|
||||
</substeps>
|
||||
<programlisting language="python">servers_list = nova_client.servers.list()
|
||||
server_del = "vm1"
|
||||
server_exists = False
|
||||
@ -206,6 +204,8 @@ for s in servers_list:
|
||||
server_exists = True
|
||||
break</programlisting>
|
||||
</step>
|
||||
</substeps>
|
||||
</step>
|
||||
<step>
|
||||
<para>If the server exists, run the
|
||||
<literal>delete</literal> method of the
|
||||
|
Loading…
Reference in New Issue
Block a user