development: LXD fix for system ds path

This commit is contained in:
Daniel Clavijo Coca authored and Ruben S. Montero committed 2018-12-19 13:15:38 +01:00
1 parent 0a2fe1aee6
commit 907b14ca0f
1 file changed
+1 -1
+1 -1
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|