mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
F OpenNebula/one#5499: fix (#1454)
This commit is contained in:
parent
7e26ebbcef
commit
d9f88f3147
@ -130,7 +130,7 @@ class LXCVM < OpenNebulaVM
|
||||
if @xml['/VM/USER_TEMPLATE/LXC_UNPRIVILEGED'].casecmp('FALSE').zero?
|
||||
@lxcrc[:id_map] = 0
|
||||
|
||||
lxc['lxc.include'] = "#{@lxcrc[:profiles_location]}/profile_privileged"
|
||||
lxc['lxc.include'] << "#{@lxcrc[:profiles_location]}/profile_privileged"
|
||||
else
|
||||
lxc['lxc.idmap'] = ["u 0 #{@lxcrc[:id_map]} #{@lxcrc[:max_map]}",
|
||||
"g 0 #{@lxcrc[:id_map]} #{@lxcrc[:max_map]}"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user