arnisoph / saltstack-network-formula

Salt Stack Formula to set up and configure a host's network configuration
Other
13 stars 13 forks source link

Add list of network:interfaces in the file /etc/network/interfaces in the order in which they are shown within the pillar #14

Open kislik opened 8 years ago

kislik commented 8 years ago

On Debian it's impotant (sequence ip in file /etc/network/interfaces) because after restarted server firs ip in file /etc/network/interfaces becomes like source ip ip route show

100.100.100.0/24 dev eth0 proto kernel scope link src 100.100.100.110

src 100.100.100.110 - it's first ip in file /etc/network/interfaces

arnisoph commented 8 years ago

Hi,

Please provide a PR. Thanks! :)