Fixed issue in unrecognized xvd* block devices by nailgun (Closes PRD-1995)
Change-Id: I4edb637a915b2ae33dd76737e4cf6506b7b8952a
This commit is contained in:
parent
5291a08ed8
commit
c8ecdbbd0d
|
@ -224,7 +224,7 @@ class NodeAgent
|
|||
|
||||
begin
|
||||
(@os[:block_device] or {} rescue {}).each do |bname, binfo|
|
||||
if /^(sd|vd|hd|cciss).+$/ =~ bname and binfo
|
||||
if /^(sd|vd|hd|cciss|xvd).+$/ =~ bname and binfo
|
||||
dname = bname.gsub(/!/, '/')
|
||||
# 512 bytes is the size of one sector by default
|
||||
block_size = 512
|
||||
|
|
Loading…
Reference in New Issue