Commit e379dfc4 authored by Tails developers's avatar Tails developers
Browse files

vagrant: Prevent in-memory builds when memory is tight

parent 3dfbc87e
......@@ -66,6 +66,7 @@ task :parse_build_options do
case opt
# Memory build settings
when 'ram'
abort "Not enough free memory to do an in-memory build. Aborting." unless enough_free_memory?
when 'noram'
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