F #5499: Change text from privileged to unprivileged (#1474)

This commit is contained in:
Frederick Borges authored and GitHub committed 2021-09-22 13:54:47 +02:00
1 parent db0655b77c
commit bb96b59617
2 files changed
+5 -5

No files matched your search

@@ -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"]) {
@@ -125,10 +125,10 @@
<legend>{{tr "LXC"}}</legend>
<div class="row">
<div class="medium-6 columns">
<label for="lxc_security_privileged">
{{tr "Security Privileged"}}
<label for="lxc_security_unprivileged">
{{tr "Security Unprivileged"}}
</label>
<select id="lxc_security_privileged">
<select id="lxc_security_unprivileged">
<option selected="selected" value="yes">Yes</option>
<option value="no">No</option>
</select>