forked from 0x2620/pandora
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`
|
||||
TARGET=${BASE}/pandora-r${VERSION}.vdi
|
||||
|
||||
img=xenial-server-cloudimg-amd64-disk1.img
|
||||
img=bionic-server-cloudimg-amd64.img
|
||||
|
||||
if [ ! -e $img ]; then
|
||||
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
|
||||
echo preparing ${TARGET}.img
|
||||
cp -a $img ${TARGET}.img
|
||||
|
|
Loading…
Reference in a new issue