nanobox-io / bootstrap

Collection of scripts used to bootstrap a nanobox host machine.
MIT License
4 stars 5 forks source link

Change new network names (ens*) to consistent “eth0” #29

Closed tylerflint closed 7 years ago

tylerflint commented 7 years ago

It has come to our attention that aws is a bit inconsistent with their images across different sizes. While smaller images tend to have an eth0 interface, larger instances have an ens3 interface. Since the firewalling, loadbalancing, and virtualnetwork depend on a consistent, predictable interface name across all instances from the same provider, we will need to have the bootstrap first run a check to see if the expected interface exists, and if not will need to rollback the interface naming convention and reboot.

Here is a resource on how to rollback the naming convention:

http://www.itzgeek.com/how-tos/mini-howtos/change-default-network-name-ens33-to-old-eth0-on-ubuntu-16-04.html