Created
October 18, 2011 16:06
-
-
Save jbrown/1295829 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'fileutils' | |
require 'vagrant' | |
# require 'nokogiri' | |
FileUtils.mkdir_p 'tmp' | |
env = Vagrant::Environment.new(:cwd => File.expand_path('tmp')) | |
Dir.chdir 'tmp' do | |
env.cli 'init', 'CentOS-5.7-build' | |
end | |
env.cli 'up' | |
require 'nokogiri' | |
puts File.read(File.expand_path("../definitions/orion57-base/comps.xml", __FILE__)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment