# Spin 3 RHEL machines that will be registered ENV['VAGRANT_DEFAULT_PROVIDER'] ||= 'libvirt' ENV['VAGRANT_REGISTRATION_RHEL_BOX'] ||= 'rhel-7.0' Vagrant.configure('2') do |config| config.vm.box = ENV['VAGRANT_REGISTRATION_RHEL_BOX'] config.vm.define "rhel1-valid-credentials" do |c| c.registration.username = ENV['VAGRANT_REGISTRATION_USERNAME'] c.registration.password = ENV['VAGRANT_REGISTRATION_PASSWORD'] end config.vm.define "rhel2-valid-credentials" do |c| c.registration.org = ENV['VAGRANT_REGISTRATION_ORG'] c.registration.activationkey = ENV['VAGRANT_REGISTRATION_ACTIVATIONKEY'] end end