use bionic for VM
This commit is contained in:
parent
9c82a18585
commit
97b5c0538a
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@ BASE=`pwd`
|
||||||
VERSION=`cd ..;git rev-list HEAD --count`
|
VERSION=`cd ..;git rev-list HEAD --count`
|
||||||
TARGET=${BASE}/pandora-r${VERSION}.vdi
|
TARGET=${BASE}/pandora-r${VERSION}.vdi
|
||||||
|
|
||||||
img=xenial-server-cloudimg-amd64-disk1.img
|
img=bionic-server-cloudimg-amd64.img
|
||||||
|
|
||||||
if [ ! -e $img ]; then
|
if [ ! -e $img ]; then
|
||||||
echo downloading $img
|
echo downloading $img
|
||||||
curl -s -O https://cloud-images.ubuntu.com/xenial/current/$img
|
curl -s -O https://cloud-images.ubuntu.com/bionic/current/$img
|
||||||
fi
|
fi
|
||||||
echo preparing ${TARGET}.img
|
echo preparing ${TARGET}.img
|
||||||
cp -a $img ${TARGET}.img
|
cp -a $img ${TARGET}.img
|
||||||
|
|
Loading…
Reference in a new issue