mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
M #~: Fix ssh checkbox when instantiate template (#1223)
(cherry picked from commit bbc8bb1bab)
This commit is contained in:
1 parent
2406ddc422
commit
572d2f67f9
1 file changed
+4
@@ -188,6 +188,10 @@ define(function(require) {
|
||||
? nic["RDP"] = "YES"
|
||||
: delete nic["RDP"];
|
||||
|
||||
(Boolean($("input#" + that.id + "_ssh", context).prop("checked")))
|
||||
? nic["SSH"] = "YES"
|
||||
: delete nic["SSH"];
|
||||
|
||||
if ( !nic["NETWORK_MODE"] || ( nic["NETWORK_MODE"] && nic["NETWORK_MODE"] !== "auto" ) )
|
||||
{
|
||||
var ip4 = $("input.manual_ip4", $(this)).val();
|
||||
|
||||
Reference in new issue
Block a user