From e23afc0ff703e98963b1b945b0dfea80e6e4419b Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Mon, 21 May 2012 17:00:04 +0200 Subject: [PATCH] Sunstone: do not offer system datastore when creating an image. Set default datastore as default (cherry picked from commit 700f6cafc476a6eb782eadd1fa822f3a77688a6c) --- src/sunstone/public/js/plugins/datastores-tab.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sunstone/public/js/plugins/datastores-tab.js b/src/sunstone/public/js/plugins/datastores-tab.js index 2bb8334104..53444465b1 100644 --- a/src/sunstone/public/js/plugins/datastores-tab.js +++ b/src/sunstone/public/js/plugins/datastores-tab.js @@ -361,8 +361,9 @@ function updateDatastoreSelect(){ datastores_select = makeSelectOptions(dataTable_datastores, 1, 4, - [], - [] + [1], + [0], //do not include sys datastores + true ); };