lib/vagrant-subutai/create_disk.rb in vagrant-subutai-7.0.3 vs lib/vagrant-subutai/create_disk.rb in vagrant-subutai-7.0.4
- old
+ new
@@ -41,10 +41,11 @@
def provision
has_grow, grow_by = SubutaiDisk.has_grow
file_disk = SubutaiDisk.file_path(grow_by, "hyper_v")
unless File.exist?(file_disk)
- Put.warn "Disk size is growing by #{grow_by} gb."
+ Put.warn SubutaiDisk.message(grow_by)
+
if has_grow
if SubutaiDisk.hyperv_create_disk(grow_by, file_disk)
SubutaiDisk.save_path(SubutaiDisk.port, file_disk)
SubutaiDisk.save_conf(grow_by)
end
\ No newline at end of file