summaryrefslogtreecommitdiffstats
path: root/ci/02-maasdeploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/02-maasdeploy.sh')
-rwxr-xr-xci/02-maasdeploy.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh
index d8afb0c5..f507f3f4 100755
--- a/ci/02-maasdeploy.sh
+++ b/ci/02-maasdeploy.sh
@@ -27,8 +27,8 @@ if [ ! -e /var/lib/libvirt/images ]; then
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>
@@ -37,8 +37,8 @@ if [ ! -e /var/lib/libvirt/images ]; then
</pool>
EOF
- virsh pool-start default
- virsh pool-autostart default
+ sudo virsh pool-start default
+ sudo virsh pool-autostart default
fi