Browse code

install cloud-utils, so that we have resize-part-image

Anthony Young authored on 2011/11/10 04:48:09
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 #!/usr/bin/env bash
2 2
 
3
-# Make sure that we have the proper version of ubuntu (only works on natty/oneiric)
4
-if ! egrep -q "oneiric|natty" /etc/lsb-release; then
3
+# Make sure that we have the proper version of ubuntu (only works on oneiric)
4
+if ! egrep -q "oneiric" /etc/lsb-release; then
5 5
     echo "This script only works with ubuntu oneiric and natty"
6 6
     exit 1
7 7
 fi
... ...
@@ -33,7 +33,7 @@ if [ ! -e $TOP_DIR/localrc ]; then
33 33
 fi
34 34
 
35 35
 # Install deps if needed
36
-DEPS="kvm libvirt-bin kpartx"
36
+DEPS="kvm libvirt-bin kpartx cloud-utils"
37 37
 dpkg -l $DEPS || apt-get install -y --force-yes $DEPS
38 38
 
39 39
 # Where to store files and instances