diff --git a/firstapp/source/appendix.rst b/firstapp/source/appendix.rst index c458adf04..5b5b37fa7 100644 --- a/firstapp/source/appendix.rst +++ b/firstapp/source/appendix.rst @@ -21,3 +21,15 @@ Specify a network during instance build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. todo:: code for creating a networking using code + +.. only:: shade + + Add the parameter network and send its name or id to attach the instance to: + + .. code-block:: python + + testing_instance = conn.create_server(wait=True, auto_ip=True, + name=instance_name, + image=image_id, + flavor=flavor_id, + network=network_id) diff --git a/firstapp/source/getting_started.rst b/firstapp/source/getting_started.rst index 06a4e5be0..e3c704eeb 100644 --- a/firstapp/source/getting_started.rst +++ b/firstapp/source/getting_started.rst @@ -304,7 +304,7 @@ to run code snippets in your language of choice. .. only:: shade Use your credentials above to specify the cloud provider name, - user name, password, project_name and region_name in the file + username, password, project_name and region_name in the file :file:`~/.config/openstack/clouds.yml`. .. literalinclude:: ../samples/shade/clouds.yml