Hi,
I use Vagrant + Centos 7.2
I've a bug with NM_CONTROLLED=no in /etc/sysconfig/network-scripts/ifcfg-eth0
How can I configure Vagrant to set NM_CONTROLLED to yes value ?
Context : http://lists.openshift.redhat.com/openshift-archives/users/2016-February/msg00006.html
Best regards,
Stephane
NM_CONTROLLED=noin/etc/sysconfig/network-scripts/ifcfg-eth0
grep 'NM_CONTROLLED=no' /etc/sysconfig/network-scripts/ifcfg-eth0 || sed -i -e 's/NM_CONTROLLED=no/NM_CONTROLLED=yes/' /etc/sysconfig/network-scripts/ifcfg-eth0
And in vagrant:
config.vm.provision "shell", run: "always", inline: "grep 'NM_CONTROLLED=no' /etc/sysconfig/network-scripts/ifcfg-eth0 && true || sed -i -e 's/NM_CONTROLLED=no/NM_CONTROLLED=yes/' /etc/sysconfig/network-scripts/ifcfg-eth0"
Alvaro.
--
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 a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/qGKBh7TVwQ4/unsubscribe.
To unsubscribe from this group and all its topics, 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/f640f94d-d5da-432b-bd15-a2cc0e4fbe93%40googlegroups.com.