mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-04 22:21:36 +09:00
1 parent
db0655b77c
commit
bb96b59617
2 files changed
+5
-5
No files matched your search
+2
-2
@@ -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"]) {
|
||||
|
||||
+3
-3
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user