spec/support/Labfile in testlab-0.5.0 vs spec/support/Labfile in testlab-0.5.1
- old
+ new
@@ -29,11 +29,11 @@
:memory => 512,
:file => REPO
}
]
- network :testnet do
+ network 'testnet' do
address '192.168.255.254/16'
bridge :br0
route true
end
@@ -42,18 +42,18 @@
distro "ubuntu"
release "precise"
interface do
name :eth0
- network_id :testnet
+ network_id 'testnet'
address '192.168.0.254/16'
primary true
end
interface do
name :eth1
- network_id :testnet
+ network_id 'testnet'
address '192.168.0.253/16'
end
end
# SINGLE NIC
@@ -61,28 +61,28 @@
distro "ubuntu"
release "precise"
interface do
name :eth0
- network_id :testnet
+ network_id 'testnet'
address '192.168.0.200/16'
end
end
# SHELL PROVISIONER
container "server-shell" do
distro "ubuntu"
release "precise"
- provisioner TestLab::Provisioner::Shell
+ provisioners [TestLab::Provisioner::Shell]
config Hash[
:shell => "/bin/bash",
- :setup => shell_provision_script
+ :script => shell_provision_script
]
interface do
name :eth0
- network_id :testnet
+ network_id 'testnet'
address '192.168.0.200/16'
end
end