1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

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

This commit is contained in:
Frederick Borges 2021-09-22 13:54:47 +02:00 committed by GitHub
parent db0655b77c
commit bb96b59617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -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"]) {

View File

@ -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>