F OpenNebula/one#5499: fix (#1454)

This commit is contained in:
Daniel Clavijo Coca authored and GitHub committed 2021-09-15 10:10:15 +02:00
1 parent 7e26ebbcef
commit d9f88f3147
1 file changed
+1 -1
+1 -1
View File
@@ -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]}"]