- From: Eric Herot <
>
- To:
- Subject: [chef] Re: Re: How do I configure /etc/network/interfaces using chef?
- Date: Wed, 19 Mar 2014 12:25:26 -0400
Not sure if this is useful for your particular case but if what you’re trying to do is set up some existing physical NICs (or virtual NICs if you’re in a cloud computing environment) there is a cookbook for that:
https://github.com/redguide/network_interfaces
On March 19, 2014 at 12:09:24 PM, Kenneth Barry (
">
) wrote:
I'm going to take an initial whack at this, and say I "think"
its going to be something like
node[network][interfaces].each do |nic|
[whatever you want to do here]
Youll probably wanna add a bit of logic just after that first line
to help ignore it is the nic is the lo nic.
Other will certainly improve on this.
|
- [chef] How do I configure /etc/network/interfaces using chef?, Maciek Misztal, 03/19/2014
- [chef] Re: How do I configure /etc/network/interfaces using chef?, Kenneth Barry, 03/19/2014
- [chef] Re: Re: How do I configure /etc/network/interfaces using chef?, Eric Herot, 03/19/2014
- [chef] Re: Re: Re: How do I configure /etc/network/interfaces using chef?, Maciek Misztal, 03/19/2014
- [chef] Re: Re: Re: Re: How do I configure /etc/network/interfaces using chef?, Barthélemy Vessemont, 03/20/2014
- [chef] Re: Re: Re: Re: Re: How do I configure /etc/network/interfaces using chef?, Maciek Misztal, 03/20/2014
- [chef] Re: Re: Re: Re: Re: Re: How do I configure /etc/network/interfaces using chef?, Eric Herot, 03/20/2014
- [chef] Re: Re: Re: Re: Re: Re: Re: How do I configure /etc/network/interfaces using chef?, Maciek Misztal, 03/20/2014
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: How do I configure /etc/network/interfaces using chef?, Eric Herot, 03/21/2014
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: How do I configure /etc/network/interfaces using chef?, mmisztal1980, 03/21/2014
- [chef] Re: How do I configure /etc/network/interfaces using chef?, Eric Herot, 03/24/2014
Archive powered by MHonArc 2.6.16.