diff --git a/doc/user-guide/section_cli_heat.xml b/doc/user-guide/section_cli_heat.xml index 37b96c1f38..003dc35a91 100644 --- a/doc/user-guide/section_cli_heat.xml +++ b/doc/user-guide/section_cli_heat.xml @@ -121,7 +121,7 @@
Update a stack - To update an existing stack from a modified + To update an existing stack from a modified template file, run a command like the following command: $ heat stack-update mystack --template-file /path/to/heat/templates/WordPress_Single_Instance_v2.template diff --git a/doc/user-guide/section_cli_nova_configure_instances.xml b/doc/user-guide/section_cli_nova_configure_instances.xml index b169e8e345..66f66be895 100644 --- a/doc/user-guide/section_cli_nova_configure_instances.xml +++ b/doc/user-guide/section_cli_nova_configure_instances.xml @@ -151,13 +151,13 @@ To allow SSH access to the instances, choose one of the following options: - + Allow access from all IP addresses, specified as IP subnet 0.0.0.0/0 in CIDR notation: $ nova secgroup-add-rule SECURITY_GROUP_NAME tcp 22 22 0.0.0.0/0 - + Allow access only from IP addresses from other security groups (source groups) to access the specified port: diff --git a/doc/user-guide/section_sdk_nova.xml b/doc/user-guide/section_sdk_nova.xml index 35cf1afb08..e72b7dd160 100644 --- a/doc/user-guide/section_sdk_nova.xml +++ b/doc/user-guide/section_sdk_nova.xml @@ -193,10 +193,8 @@ from novaclient.client import Client If true, set the variable name server_exists to True and break from - the for loop: - - - servers_list = nova_client.servers.list() + the for loop: + servers_list = nova_client.servers.list() server_del = "vm1" server_exists = False @@ -205,6 +203,8 @@ for s in servers_list: print("This server %s exists" % server_del) server_exists = True break + + If the server exists, run the