mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-03 21:52:31 +09:00
M #: Improve usage detection for nbd devices (LXC) (#1903)
This commit is contained in:
1 parent
736aca84b9
commit
7a45ed598e
1 file changed
+1
-1
@@ -101,7 +101,7 @@ class Qcow2Mapper
|
||||
m = p['name'].match(/nbd(\d+)/)
|
||||
next unless m
|
||||
|
||||
nbds << m[1].to_i
|
||||
nbds << m[1].to_i if !p['uuid'].nil? && !p['uuid'].empty?
|
||||
end
|
||||
|
||||
nbds_max.times do |i| # if nbds_max returns 0 block is skipped
|
||||
|
||||
Reference in new issue
Block a user