Skip to content
Snippets Groups Projects
Commit bda75d73 authored by Sebastian Rieger's avatar Sebastian Rieger
Browse files

- added support for new glance version in Cisco VIRL 1.0.0

parent f7dd9342
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@
# V1.2 added dynamic handling of device mapping of extacted partitions
# V1.21 checking whether it safe to unmount working directories
# V1.3 added support to delete existing image with the same name and generating the default nova flavor
# V1.31 added support for newer glance releases (e.g. kilo) used in VIRL 1.0.0
# usage
if [ ! $# -eq 3 ] ; then
......@@ -197,7 +199,7 @@ rm $VEOS_VMDK_BASENAME.raw
echo
echo "Importing image into glance..."
echo "==========================================================="
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 $TMP_NAME.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=IOSv --property config_disk_type=disk
......
......@@ -18,7 +18,7 @@
"vnc_available": false,
"interface_management": "Management1",
"interface_range": 7,
"baseline_flavor": "vEOS.small"
"baseline_flavor": "vEOS.medium"
}
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment