From bb96b59617c54d3c3b48b1c688f21f55f37289bb Mon Sep 17 00:00:00 2001 From: Frederick Borges Date: Wed, 22 Sep 2021 13:54:47 +0200 Subject: [PATCH] F #5499: Change text from privileged to unprivileged (#1474) --- .../templates-tab/form-panels/create/wizard-tabs/general.js | 4 ++-- .../form-panels/create/wizard-tabs/general/html.hbs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general.js index 8504ef3e36..754a696449 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general.js @@ -379,7 +379,7 @@ define(function(require) { } if (templateJSON["HYPERVISOR"] == "lxc"){ - templateJSON["LXC_UNPRIVILEGED"] = $("#lxc_security_privileged", context).val().toUpperCase(); + templateJSON["LXC_UNPRIVILEGED"] = $("#lxc_security_unprivileged", context).val().toUpperCase(); } var sunstone_template = {}; @@ -507,7 +507,7 @@ define(function(require) { // LXC specific attributes if (templateJSON["HYPERVISOR"] == "lxc") { - $("#lxc_security_privileged").val(templateJSON["LXC_UNPRIVILEGED"].toLowerCase()); + $("#lxc_security_unprivileged").val(templateJSON["LXC_UNPRIVILEGED"].toLowerCase()); } if (templateJSON["HYPERVISOR"]) { diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/html.hbs b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/html.hbs index b7d88e8782..68fbc8afeb 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/html.hbs +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/html.hbs @@ -125,10 +125,10 @@ {{tr "LXC"}}
-