lib/rudy/metadata/disk.rb in rudy-0.8.4 vs lib/rudy/metadata/disk.rb in rudy-0.8.5
- old
+ new
@@ -26,10 +26,10 @@
field :fstype
field :mounted
field :created
- def init(path=nil, size=nil, device=nil, position=nil)
+ def init(path=nil, size=1, device='/dev/sdh', position=nil)
@path, @size, @device = path, size, device
@rtype = 'disk'
@region = @@global.region
@zone = @@global.zone
@environment = @@global.environment