diff options
Diffstat (limited to 'juju/joid-configure-openstack')
-rwxr-xr-x | juju/joid-configure-openstack | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/juju/joid-configure-openstack b/juju/joid-configure-openstack index 71e4f712..5df82b87 100755 --- a/juju/joid-configure-openstack +++ b/juju/joid-configure-openstack @@ -78,12 +78,13 @@ openstack flavor show m1.xlarge > /dev/null 2>&1 || openstack flavor create --ra echo "modifying default quotas for admin user" #Modify quotas for the tenant to allow large deployments -openstack quota set --instances 400 --cores 800 --ram 404800 --secgroups 4000 --floating-ips -1 --secgroup-rules -1 $TENANT_ID +PROJECT_ID=`openstack quota show -f value -c project` +openstack quota set --instances 400 --cores 800 --ram 404800 --secgroups 4000 --floating-ips -1 --secgroup-rules -1 $PROJECT_ID ### need to find how to change quota for the project not the tenant ### modify default quota the same way.. -openstack quota set --class --instances 400 --cores 800 --ram 404800 --secgroups 4000 --floating-ips -1 --secgroup-rules -1 $TENANT_ID +#openstack quota set --class --instances 400 --cores 800 --ram 404800 --secgroups 4000 --floating-ips -1 --secgroup-rules -1 $TENANT_ID echo "Uploading images to glance" |