diff options
Diffstat (limited to 'kitchen-tests/cookbooks/end_to_end/recipes/_ifconfig.rb')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/_ifconfig.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/_ifconfig.rb b/kitchen-tests/cookbooks/end_to_end/recipes/_ifconfig.rb new file mode 100644 index 0000000000..149b2cb65c --- /dev/null +++ b/kitchen-tests/cookbooks/end_to_end/recipes/_ifconfig.rb @@ -0,0 +1,13 @@ +execute "create virtual interface for testing" do + command "ifconfig eth0:0 123.123.22.22" +end + +ifconfig "33.33.33.80" do + bootproto "dhcp" + device "eth0:0" +end + +ifconfig "Set eth1 to DHCP" do + device "eth0:0" + bootproto "dhcp" +end
\ No newline at end of file |