Created
May 29, 2017 07:38
-
-
Save zioproto/270adcf8bdecc603735d033e301bd40a to your computer and use it in GitHub Desktop.
Workaround for bad defaults in Horizon Newton
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js | |
index 391b8e7..42a8f50 100644 | |
--- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js | |
+++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js | |
@@ -419,7 +419,7 @@ | |
ctrl.currentBootSource = selectedSource; | |
if ((selectedSource === bootSourceTypes.IMAGE || | |
selectedSource === bootSourceTypes.INSTANCE_SNAPSHOT) && $scope.model.volumeBootable) { | |
- $scope.model.newInstanceSpec.vol_create = true; | |
+ $scope.model.newInstanceSpec.vol_create = false; | |
} else { | |
$scope.model.newInstanceSpec.vol_create = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment