Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for path to ifcfg-eth0 on centos, to add 'BOOTPROTO=none' flag (dhcp) #18

Merged
merged 1 commit into from
Nov 6, 2016

Conversation

sc0ttruss
Copy link
Contributor

when using centos7.2, the path to the ifcfg-eth0 file, was using the default ubuntu path "/etc/network/interfaces.d/eth0.cfg", whereas this sits in "/etc/sysconfig/network-scripts/ifcfg-eth0" on centos 7.2. This only affects the dhcp setting, though to be honest, I am not sure that this setting is actually being honoured ( still unsure how the ip address is being configured inside the container. ie the ip address is not configured inside this file ).
Fundamentally, this fix stops an error message from displaying using kitchen on ubuntu with centos lxd containers.
NB also changed setting from "manual" to "none", as this is how kitchen vagrant plugin does it.

@bradenwright
Copy link
Owner

bradenwright commented Oct 30, 2016

FYI... I'll make sure to review/test this and get it merged in asap... I should have little time today, tomorrow, best guess I'll merge it tuesday if not earlier.

@bradenwright
Copy link
Owner

Sorry it took me so long, was a long week. I live in chicago so the cubs wining, let's just say I wasn't on my computer as much as normal weeks

@bradenwright bradenwright merged commit 4b0abe4 into bradenwright:master Nov 6, 2016
@bradenwright
Copy link
Owner

I pushed a gem to rubygems as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants