diff options
-rw-r--r-- | docs/how-to-use/InstallSnaps.rst | 8 | ||||
-rw-r--r-- | examples/launch.py | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/docs/how-to-use/InstallSnaps.rst b/docs/how-to-use/InstallSnaps.rst index dc53ef0..f5e9cf8 100644 --- a/docs/how-to-use/InstallSnaps.rst +++ b/docs/how-to-use/InstallSnaps.rst @@ -69,4 +69,12 @@ The "pip" command below needs to be executed as root, if you are not using a vir sudo pip install -e <path to repo>/snaps/ (note: on CentOS 7 and Ubuntu 14.04 you may have to try the previous command several times) +SNAPS is now hosted on the Python Package Manager (PyPI). + +:: + + pip install snaps + +This will install the stable Euphrates version. + The install should now be complete and you can start using the SNAPS-OO libraries. diff --git a/examples/launch.py b/examples/launch.py index 72eccf0..88ff420 100644 --- a/examples/launch.py +++ b/examples/launch.py @@ -212,14 +212,15 @@ def __create_vm_instances(os_creds_dict, os_users_dict, instances_config, if image_creator: instance_settings = VmInstanceSettings( **instance_config['instance']) - kp_name = conf.get('keypair_name') + kp_creator = keypairs_dict.get( + conf.get('keypair_name')) vm_dict[conf[ 'name']] = deploy_utils.create_vm_instance( __get_creds( os_creds_dict, os_users_dict, conf), instance_settings, image_creator.image_settings, - keypair_creator=keypairs_dict[kp_name], + keypair_creator=kp_creator, init_only=cleanup) else: raise Exception('Image creator instance not found.' |