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

This commit is contained in:
Anthony Young 2011-11-09 11:48:09 -08:00
parent 08c999d598
commit e28f77565d

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Make sure that we have the proper version of ubuntu (only works on natty/oneiric) # Make sure that we have the proper version of ubuntu (only works on oneiric)
if ! egrep -q "oneiric|natty" /etc/lsb-release; then if ! egrep -q "oneiric" /etc/lsb-release; then
echo "This script only works with ubuntu oneiric and natty" echo "This script only works with ubuntu oneiric and natty"
exit 1 exit 1
fi fi
@ -33,7 +33,7 @@ if [ ! -e $TOP_DIR/localrc ]; then
fi fi
# Install deps if needed # Install deps if needed
DEPS="kvm libvirt-bin kpartx" DEPS="kvm libvirt-bin kpartx cloud-utils"
dpkg -l $DEPS || apt-get install -y --force-yes $DEPS dpkg -l $DEPS || apt-get install -y --force-yes $DEPS
# Where to store files and instances # Where to store files and instances