Commit 0361037b authored by Ioannis Tsafaras's avatar Ioannis Tsafaras

Merge pull request #4 from pkoro/master_name_fix

Fix in master instance name
parents bcf5e42b 396b1aec
...@@ -40,13 +40,13 @@ The script is responsible for creating the entire lambda instance. ...@@ -40,13 +40,13 @@ The script is responsible for creating the entire lambda instance.
``` ```
[global] [global]
default_cloud = lambda default_cloud = lambda
ca_certs = /path/to/certs ; ca_certs = /path/to/certs
[cloud "lambda"] [cloud "lambda"]
url = https://accounts.okeanos.grnet.gr/identity/v2.0 url = https://accounts.okeanos.grnet.gr/identity/v2.0
token = your-okeanos-token token = your-okeanos-token
``` ```
Note that you may retrieve your ~okeanos API token, after logging into the service, by visiting [this page][api_link].
- Install required packages. Within the `core` directory execute `sudo pip install -r requirements.txt`. - Install required packages. Within the `core` directory execute `sudo pip install -r requirements.txt`.
- Install package using `sudo python setup.py install` - Install package using `sudo python setup.py install`
...@@ -66,3 +66,5 @@ To test the library we use `tox`. In order to run the tests: ...@@ -66,3 +66,5 @@ To test the library we use `tox`. In order to run the tests:
- Run `tox` - Run `tox`
This will automatically create the testing environments required and run the tests This will automatically create the testing environments required and run the tests
[api_link]: https://accounts.okeanos.grnet.gr/ui/api_access
\ No newline at end of file
...@@ -28,7 +28,7 @@ if __name__ == "__main__": ...@@ -28,7 +28,7 @@ if __name__ == "__main__":
args = parser.parse_args() args = parser.parse_args()
provisioner = Provisioner(cloud_name=args.cloud) provisioner = Provisioner(cloud_name=args.cloud)
provisioner.create_lambda_cluster('test_vm', slaves=args.slaves, provisioner.create_lambda_cluster('lambda-master', slaves=args.slaves,
cluster_size=args.cluster_size, cluster_size=args.cluster_size,
vcpus_master=args.vcpus_master, vcpus_master=args.vcpus_master,
vcpus_slave=args.vcpus_slave, vcpus_slave=args.vcpus_slave,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment