diff --git a/src/cli/onevcenter b/src/cli/onevcenter index 08f0ae7b00..4a73a0bb8d 100755 --- a/src/cli/onevcenter +++ b/src/cli/onevcenter @@ -315,7 +315,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do "[Enter for default]: " up = STDIN.gets.strip ar_str += ",ULA_PREFIX=" + up if !up.empty? - when "E" + when "e" ar_str += "ETHER\"" STDOUT.print " Please input the first MAC "\ "in the range [Enter for default]: " @@ -337,8 +337,6 @@ cmd=CommandParser::CmdParser.new(ARGV) do ::OpenNebula::Template.build_xml, vc.one) vnet_template = n[:one] + ar_str - - puts vnet_template rc = one_vn.allocate(vnet_template) diff --git a/src/sunstone/public/js/plugins/hosts-tab.js b/src/sunstone/public/js/plugins/hosts-tab.js index 48cec6c66f..a832314597 100644 --- a/src/sunstone/public/js/plugins/hosts-tab.js +++ b/src/sunstone/public/js/plugins/hosts-tab.js @@ -1254,14 +1254,23 @@ function setupCreateHostDialog(){ $(".content", networks_container).html(""); $.each(response, function(id, network){ + var netname = network.name.replace(" ","_"); + var trow = $('
' + '
' + - '
' + - '