From 0b60758e7d26a926febeb92ecf769f5c355b5fd9 Mon Sep 17 00:00:00 2001 From: Travis Tripp Date: Fri, 5 Jun 2015 02:30:26 -0600 Subject: [PATCH] Launch Instance NG - Create Volume if Nova Ext The new angular launch instance does not look at allowCreateVolumeFromImage property to determine whether or not to show "create from volume". That property is being set based on if the nova extension is enabled that supports it. Change-Id: I7670d2cfdbb6c0ee3638c5a2783cb234b6f5267f Closes-Bug: #1462547 --- .../static/dashboard/launch-instance/source/source.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openstack_dashboard/static/dashboard/launch-instance/source/source.html b/openstack_dashboard/static/dashboard/launch-instance/source/source.html index 44100f7b49..308daa1cad 100644 --- a/openstack_dashboard/static/dashboard/launch-instance/source/source.html +++ b/openstack_dashboard/static/dashboard/launch-instance/source/source.html @@ -92,7 +92,8 @@
+ ng-if="model.newInstanceSpec.source_type.type === 'image' && + model.allowCreateVolumeFromImage">