diff --git a/demo1-getting-started.py b/demo1-getting-started.py index 7cd4647e18ae5684ce52215a23355322a047d3cb..1a872c60c3eef352041b2332e0a00a15541aa98c 100644 --- a/demo1-getting-started.py +++ b/demo1-getting-started.py @@ -42,8 +42,8 @@ domain_name = "default" def main(): # get the password from user - auth_password = getpass.getpass("Enter your OpenStack password:") - # auth_password = "demo" + # auth_password = getpass.getpass("Enter your OpenStack password:") + auth_password = "demo" # instantiate a connection to the OpenStack private cloud # make sure to include ex_domain_name and ex_force_auth_version='3.x_password', as they are needed in our diff --git a/demo3-microservice.py b/demo3-microservice.py index 34f9909c787250b5520f9437145a3d007bd960ae..68b43004825d2b71039e570db007ff07c37a3fc1 100644 --- a/demo3-microservice.py +++ b/demo3-microservice.py @@ -238,6 +238,7 @@ def main(): instance_worker_1 = conn.create_node(name='app-worker-1', image=image, size=flavor, + networks=[network], ex_keyname=keypair_name, ex_userdata=userdata, ex_security_groups=[worker_security_group]) diff --git a/demo4-scale-out-add-worker.py b/demo4-scale-out-add-worker.py index 5f672af3420321ffaa9e286dcdf8e031da9a7405..95af385a3d7ff3048256981f2434e8c9f5d9a657 100644 --- a/demo4-scale-out-add-worker.py +++ b/demo4-scale-out-add-worker.py @@ -101,7 +101,7 @@ def main(): ########################################################################### # - # get fixed a ip for serivice and api instance + # get fixed a ip for service and api instance # (better would be shared IP for the cluster etc.) # ########################################################################### diff --git a/demo4-scale-out-destroy.py b/destroy-all-demo-instances.py similarity index 100% rename from demo4-scale-out-destroy.py rename to destroy-all-demo-instances.py