diff --git a/bootstrap-maas.sh b/bootstrap-maas.sh index b616c19..32d91ed 100755 --- a/bootstrap-maas.sh +++ b/bootstrap-maas.sh @@ -292,7 +292,6 @@ clouds: type: maas auth-types: [ oauth1 ] description: MAAS cloud for $cloud_name - # endpoint: ${maas_endpoint:0:-8} endpoint: $maas_endpoint config: enable-os-refresh-update: true diff --git a/manage-vm-nodes.sh b/manage-vm-nodes.sh index 4f5fcf5..a9fb5f3 100755 --- a/manage-vm-nodes.sh +++ b/manage-vm-nodes.sh @@ -422,7 +422,7 @@ build_vms() { --video qxl,vram=256 \ --channel spicevmc \ --name "$virt_node" \ - --ram "$ram" \ + --ram "memory=$(( $ram * 6 / 4 )),currentMemory=$ram" \ --vcpus "$vcpus" \ --console pty,target_type=serial \ --graphics spice,clipboard_copypaste=no,mouse_mode=client,filetransfer_enable=off \