Commit ce4d2917 authored by David Johnson's avatar David Johnson

Update Horizon Newton patch to not autocreate instances from volumes.

parent bdc2c9db
......@@ -13,12 +13,12 @@
model.newInstanceSpec.server_groups = [];
--- /usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js~ 2016-10-06 07:13:37.000000000 -0600
+++ /usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js 2016-11-14 10:01:27.503142035 -0700
@@ -401,7 +401,7 @@
@@ -417,0 +417,0 @@
function updateBootSourceSelection(selectedSource) {
ctrl.currentBootSource = selectedSource;
- if ((selectedSource === bootSourceTypes.IMAGE) && $scope.model.volumeBootable) {
+ if (false && (selectedSource === bootSourceTypes.IMAGE) && $scope.model.volumeBootable) {
- if ((selectedSource === bootSourceTypes.IMAGE ||
+ if (false && (selectedSource === bootSourceTypes.IMAGE ||
selectedSource === bootSourceTypes.INSTANCE_SNAPSHOT) && $scope.model.volumeBootable) {
$scope.model.newInstanceSpec.vol_create = true;
} else {
$scope.model.newInstanceSpec.vol_create = false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment