1
0
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:
Daniel Clavijo Coca 2021-09-15 03:10:15 -05:00 committed by GitHub
parent 7e26ebbcef
commit d9f88f3147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]}"]