Using setup-network-environment in CoreOS-alpha on Digital Ocean.
It seems Digital Ocean attaches 2 IP addresses to the default interface, causing this tool to pick up the first one (which is internal only).
Digital Ocean assigns an IP in 192.254.0.0/16 as well as the public IP to the default interface. To ensure the right IP is picked up for Digital Ocean droplets, cgeoffroy's version allows us to filter out 192.254.0.0/16 IP addresses.
Using setup-network-environment in CoreOS-alpha on Digital Ocean.
It seems Digital Ocean attaches 2 IP addresses to the default interface, causing this tool to pick up the first one (which is internal only).
Digital Ocean assigns an IP in 192.254.0.0/16 as well as the public IP to the default interface. To ensure the right IP is picked up for Digital Ocean droplets, cgeoffroy's version allows us to filter out 192.254.0.0/16 IP addresses.