1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

development: LXD fix for system ds path

This commit is contained in:
Daniel Clavijo Coca 2018-12-19 06:15:38 -06:00 committed by Ruben S. Montero
parent 0a2fe1aee6
commit 907b14ca0f

View File

@ -195,7 +195,7 @@ class Mapper
ds = one_vm.sysds_path
if File.symlink?(ds)
real_ds = File.readlink(ds)
real_path = real_ds + dir_ok.split(ds)[-1] if dir_ok.include?(ds)
real_path = real_ds + real_path.split(ds)[-1] if real_path.include?(ds)
end
sys_parts.each {|d|