From 038068c12dd3f93763dd27e64b73d71865049052 Mon Sep 17 00:00:00 2001 From: Sebastian Rieger Date: Sat, 5 Dec 2015 22:20:50 +0100 Subject: [PATCH] - added support for newer glance releases in VIRL 1.0.0 - changed vEOS Template to use 2GB of RAM by default --- create-arista-veos-image/create-arista-veos-image.sh | 2 +- create-cumulusvx-image/create-cumulus-vx-image.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/create-arista-veos-image/create-arista-veos-image.sh b/create-arista-veos-image/create-arista-veos-image.sh index de62c7a..4cdcdf7 100644 --- a/create-arista-veos-image/create-arista-veos-image.sh +++ b/create-arista-veos-image/create-arista-veos-image.sh @@ -1,5 +1,5 @@ #!/bin/bash -# create-arista-veos-image.sh V1.3 +# create-arista-veos-image.sh # HS-Fulda - sebastian.rieger@informatik.hs-fulda.de # # changelog: diff --git a/create-cumulusvx-image/create-cumulus-vx-image.sh b/create-cumulusvx-image/create-cumulus-vx-image.sh index f7bcaac..65ec279 100644 --- a/create-cumulusvx-image/create-cumulus-vx-image.sh +++ b/create-cumulusvx-image/create-cumulus-vx-image.sh @@ -1,11 +1,12 @@ #!/bin/bash -# create-cumulus-vx-image.sh V0.3 +# create-cumulus-vx-image.sh # HS-Fulda - sebastian.rieger@informatik.hs-fulda.de # # changelog: # # V0.2 added support to delete existing image with the same name and generating the default nova flavor # V0.3 checking whether it is safe to unmount the working directory +# V0.31 added support for newer glance releases (e.g. kilo) used in VIRL 1.0.0 # usage if [ ! $# -eq 2 ] ; then @@ -114,7 +115,7 @@ echo "===========================================================" qemu-img convert -O qcow2 $CUMULUS_QCOW2_BASENAME.raw $CUMULUS_PATCHED_QCOW2 # use e1000 for now as with virtio we get dhcp errors due to "bad udp checksum" in Debian -glance image-create --container-format bare --disk-format qcow2 --is-public true --name $GLANCE_IMAGE_NAME \ +glance image-create --container-format bare --disk-format qcow2 --visibility public --name $GLANCE_IMAGE_NAME \ --file $CUMULUS_PATCHED_QCOW2 --property hw_disk_bus=ide --property serial=1 \ --property hw_vif_model=e1000 --property hw_cdrom_type=ide --property release="$GLANCE_IMAGE_RELEASE" --property subtype=CumulusVX --property config_disk_type=disk