Skip to content

meineerde-cookbooks/network_interfaces

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Manage /etc/network/interfaces on debian / Ubuntu

Requirements

ifupdown-0.7~alpha3 or older :

  • debian > wheezy
  • Ubuntu >= 11.10 (oneiric)

Attributes

Usage

example for a bridge with pre-up and pre-down script : network_interfaces "br-test" do target "172.16.88.2" mask "255.255.255.0" bridge [ "none" ] pre_up "cat /tmp/iptables-create | iptables-restore -n" post_down "cat /tmp/iptables-delete | iptables-restore -n" end

More documentation later.

About

Cookbook to manage networking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%