Update maas-setup.sh
This commit is contained in:
parent
51b6328ee5
commit
3ae7f42f4a
@ -44,8 +44,8 @@ maas admin ipranges create type=dynamic start_ip=10.10.10.200 end_ip=10.10.10.25
|
|||||||
maas admin vlan update $FABRIC_ID $VLAN_TAG dhcp_on=True primary_rack=$PRIMARY_RACK
|
maas admin vlan update $FABRIC_ID $VLAN_TAG dhcp_on=True primary_rack=$PRIMARY_RACK
|
||||||
maas admin maas set-config name=upstream_dns value=8.8.8.8
|
maas admin maas set-config name=upstream_dns value=8.8.8.8
|
||||||
# Add LXD as a VM host for MAAS and capture the VM_HOST_ID
|
# Add LXD as a VM host for MAAS and capture the VM_HOST_ID
|
||||||
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')
|
||||||
|
|
||||||
### creating VMs for Juju controller and our "bare metal"
|
### creating VMs for Juju controller and our "bare metal"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user