mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
parent
db0655b77c
commit
bb96b59617
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user