dealing with "predictable" interface names in linux

34 views
Skip to first unread message

pixel fairy

unread,
Aug 18, 2016, 7:58:22 PM8/18/16
to Vagrant
newer linux distros have done away with eth0.. / wlan0... in favor of "predictable" interface names. how do you call deal with these names in multi-machine vagrant files?

ive been using this script in provisioners, but there has to be a better way.

getnic

pixel fairy

unread,
Aug 18, 2016, 7:59:32 PM8/18/16
to Vagrant
forgot the .bash at the end. its a shell script, not a bin file.

Alvaro Miranda Aguilera

unread,
Aug 19, 2016, 5:18:13 AM8/19/16
to vagra...@googlegroups.com
what are you after?

Why you need say ens33 ens32 ?

How are you using those later in your scripts?

Or you want/need the ip on those interfaces?

On Fri, Aug 19, 2016 at 1:58 AM, pixel fairy <pixel...@gmail.com> wrote:
newer linux distros have done away with eth0.. / wlan0... in favor of "predictable" interface names. how do you call deal with these names in multi-machine vagrant files?

ive been using this script in provisioners, but there has to be a better way.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/4436a288-c9e5-4aea-b43c-8899495f5a90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

pixel fairy

unread,
Aug 19, 2016, 11:13:01 AM8/19/16
to Vagrant
On Friday, August 19, 2016 at 2:18:13 AM UTC-7, Alvaro Miranda Aguilera wrote:
what are you after?

Why you need say ens33 ens32 ?

How are you using those later in your scripts?

routing and firewall. sometimes vpns and tunnels
 
Or you want/need the ip on those interfaces?

sometimes. but not often since i set them in the first place.
 

On Fri, Aug 19, 2016 at 1:58 AM, pixel fairy <pixel...@gmail.com> wrote:
newer linux distros have done away with eth0.. / wlan0... in favor of "predictable" interface names. how do you call deal with these names in multi-machine vagrant files?

ive been using this script in provisioners, but there has to be a better way.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.



--
Reply all
Reply to author
Forward
0 new messages