Change-Id: I5f4d18a9259842dca69177fff7b6ac249ecf3bcd
sudo apt-get install libvirt-bin -y
sudo adduser ubuntu libvirtd
-
- virsh pool-define /dev/stdin <<EOF
+
+ sudo virsh pool-define /dev/stdin <<EOF
<pool type='dir'>
<name>default</name>
<target>
</pool>
EOF
- virsh pool-start default
- virsh pool-autostart default
+ sudo virsh pool-start default
+ sudo virsh pool-autostart default
fi
# parameters for how the network is attached.
name: maas-boot-vm-dc1
interfaces: ['bridge=brAdm,model=virtio']
- memory: 4096
- vcpus: 2
+ memory: 3072
+ vcpus: 1
arch: amd64
pool: default
- disk_size: 160G
+ disk_size: 120G
# Apt http proxy setting(s)
apt_http_proxy:
ip: 192.168.2.5
subnet_mask: 255.255.255.0
broadcast_ip: 192.168.2.255
- router_ip: 192.168.2.1
+ router_ip: 192.168.2.4
static_range:
low: 192.168.2.30
high: 192.168.2.150
juju-bootstrap:
name: bootstrap
interfaces: ['bridge=brAdm,model=virtio']
- memory: 4096
- vcpus: 2
+ memory: 3072
+ vcpus: 1
arch: amd64
pool: default
- disk_size: 120G
+ disk_size: 60G