Update docker build for EL7
[releng/builder.git] / vagrant / integration-robotframework / Vagrantfile
index 3c685506007ecc930cb9f4f8c06ca11d3b23744c..53a5006d06dea258dca25fd527c950917ada88ec 100644 (file)
@@ -32,7 +32,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
   #         in your base box
   config.vm.provider :rackspace do |rs|
     # create these base builds always on the smallest system possible
-    rs.flavor = 'performance1-1'
+    rs.flavor = 'general1-1'
+
+    # allow for switching to ORD cloud but default to DFW
+    if (ENV['RSREGION'] == 'ord')
+      rs.rackspace_region = :ord
+    else
+      rs.rackspace_region = :dfw
+    end
 
     # Default the CentOS 6.5 - Vagrant ready image unless overriden by a RSIMAGE
     # environment variable