lib/freighthop.rb in freighthop-0.0.5 vs lib/freighthop.rb in freighthop-0.0.6
- old
+ new
@@ -46,9 +46,17 @@
File.expand_path(host_root.join(host)),
File.expand_path(guest_root.join(guest)),
]
end
end
+
+ def cpus
+ Freighthop::Config.fetch('freighthop::cpus', 2)
+ end
+
+ def ram
+ Freighthop::Config.fetch('freighthop::ram', 1024)
+ end
end
end