scissor-project / open-scissor

OpenSCISSOR provisioning and orchestration
Apache License 2.0
2 stars 0 forks source link

Disable Vagrant interface default route in fedora #39

Closed ferrarimarco closed 6 years ago

ferrarimarco commented 6 years ago

Description of the Change

This PR disables the default route provided by the network interface (that is managed by Vagrant) on Fedora.

Alternate Designs

I tried with the provisioning we already apply to Ubuntu and CentOS (script that reacts to "interface up" events, executing the relevant ip route add default ... commands). This approach does not work with Fedora 26 and interfaces configured with NetworkManager.

Benefits

A default route is configured in Fedora-based VMs.

Possible Drawbacks

Maintain two different (and distribution dependent) network configuration scripts. I was not able to make ip route add default ... command work in Fedora :cry:

Applicable Issues

35