spec/support/Labfile in testlab-0.4.0 vs spec/support/Labfile in testlab-0.4.1

- old
+ new

@@ -5,34 +5,37 @@ set -x apt-get -y update apt-get -y install dnsutils EOF +REPO = File.dirname(__FILE__) + config Hash[ - :domain => "default.zone" + :domain => "default.zone", + :repo => REPO ] node :localhost do components %w(resolv bind) - route true provider TestLab::Provider::Vagrant config Hash[ :vagrant => { :id => "mytestlab-#{ENV['USER']}".downcase, :ip => "192.168.255.1", :user => "vagrant", :port => 22, :cpus => 1, - :memory => 512 - }, - :repo => File.dirname(__FILE__) + :memory => 512, + :file => REPO + } ] network :testnet do address '192.168.255.254/16' bridge :br0 + route true end # DUAL NICs container "server-dual-nic" do distro "ubuntu"