define quota for Copr
This commit is contained in:
parent
18967b31a3
commit
22cf623004
1 changed files with 12 additions and 0 deletions
|
@ -887,3 +887,15 @@
|
|||
ethertype: "IPv4"
|
||||
protocol: "tcp"
|
||||
remote_ip_prefix: "172.30.0.1/12"
|
||||
|
||||
|
||||
# Update quota for Copr
|
||||
# SEE:
|
||||
# nova quota-defaults
|
||||
# nova quota-show --tenant $TENANT_ID
|
||||
# default is 10 instances, 20 cores, 51200 RAM, 10 floating IPs
|
||||
- shell: source /root/keystonerc_admin && keystone tenant-list | grep 'copr' | awk '{print $2}'
|
||||
register: TENANT_ID
|
||||
- shell: source /root/keystonerc_admin && nova quota-update --instances 40 --cores 80 --ram 512000 --floating_ips 40 {{ TENANT_ID.stdout }}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue