Update maas-setup.sh

This commit is contained in:
antongisli 2021-11-16 22:28:09 +01:00 committed by GitHub
parent 3ae7f42f4a
commit 328b459417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,9 @@ maas admin maas set-config name=upstream_dns value=8.8.8.8
VM_HOST_ID=$(maas admin vm-hosts create password=password type=lxd power_address=https://${IP_ADDRESS}:8443 \ VM_HOST_ID=$(maas admin vm-hosts create password=password type=lxd power_address=https://${IP_ADDRESS}:8443 \
project=maas | jq '.id') project=maas | jq '.id')
# allow high CPU oversubscription so all VMs can use all cores
maas admin vm-host update $VM_HOST_ID cpu_over_commit_ratio=4
### creating VMs for Juju controller and our "bare metal" ### creating VMs for Juju controller and our "bare metal"
# add a VM for the juju controller with minimal memory # add a VM for the juju controller with minimal memory