Commit 8db2b731 authored by Srikanth Raju's avatar Srikanth Raju Committed by Leigh B Stoller
Browse files

Tolerate slightly lesser free space

parent bfb8e550
......@@ -39,7 +39,7 @@ class EmulabExport
empsize = Integer(`df -PBM --total / | grep total | awk '{gsub(/M$/,"",$4);print $4}'`)
puts "Disk on / has " + fssize.to_s + "M of data and " +
empsize.to_s + "M free space"
raise "Not enough disk space to create image" if empsize < fssize * 2.5
raise "Not enough disk space to create image" if empsize < fssize * 1.7
image = EC2::Platform::Current::Image.new("/",
"/tmp/emulab-image",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment