mirror of https://github.com/apache/cloudstack.git
bug 8208: Added first addHost dialog to take into account baremetal requirements in the resource page.
- Standardized the addHost optional parameters for baremetal.
This commit is contained in:
parent
ae549ed4d1
commit
b8a2b766da
|
|
@ -975,8 +975,8 @@
|
|||
<li>
|
||||
<label input_group="general">
|
||||
Tags:</label>
|
||||
<input class="text" type="text" name="host_baremetal_tags" id="host_baremetal_tags" />
|
||||
<div id="host_baremetal_tags_errormsg" class="dialog_formcontent_errormsg" style="display: none;">
|
||||
<input class="text" type="text" name="host_tags" id="host_tags" />
|
||||
<div id="host_tags_errormsg" class="dialog_formcontent_errormsg" style="display: none;">
|
||||
</div>
|
||||
</li>
|
||||
</ol>
|
||||
|
|
|
|||
|
|
@ -912,7 +912,8 @@ function initAddHostShortcut() {
|
|||
|
||||
array1.push("&hypervisor="+hypervisor);
|
||||
var clustertype = clusterObj.clustertype;
|
||||
array1.push("&clustertype=" + clustertype);
|
||||
array1.push("&clustertype=" + clustertype);
|
||||
array1.push("&hosttags=" + todb(trim($thisDialog.find("#host_tags").val())));
|
||||
|
||||
if(hypervisor == "VMware") {
|
||||
var username = trim($thisDialog.find("#host_vcenter_username").val());
|
||||
|
|
|
|||
Loading…
Reference in New Issue