-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Network configurations check fail for RHEL7 #4450
Comments
I also got an error with centos 7.0 when adding a private network like this
|
f4ee476#diff-c09c88e789bdb0c2c0ebc8d12cccf55dR26 Ruby stupidly treats a file like a directory in traversal (i.e. @biemond your specific error is from the 1.6.4 tag, which has had a fix for that in #4438, unrelated to the new issue @nZac is reporting |
hmm, actually @nZac's issue is different to the one I had (mine was just failing to attempt to load |
I can confirm, there's two issues, one for each flavor:
|
Thanks these 3 changes worked for me , now only got this issue #4352 over , it calls homenamectl and not hostnamectl plus does not set the new hostname in /etc/hosts
|
My RHEL 7 RC VM (not got a full release available due to 30 day trial expiring) has a /etc/redhat-release of: |
@andytson, is this ready to test? |
I believe more work is needed to support each RHEL flavor to match all supported /etc/redhat-release formats as this doesn't cover it: |
perhaps |
I am not nearly as familiar with Vagrant internals nor Ruby. If I can provide any additional information to assist in testing or debugging I am happy too! |
I'm struggling to find the sources for each redhat-release rpm since they moved it all over to git.centos.org and not accurately said which project its in (they point to the CentOS source which isn't correct), but looking at their former ftp directory structure there are 4 RHEL variants that will have different /etc/redhat-release content: |
I think Redhat merging CentOS into their organisation has gotten around the GPL issue by only referencing CentOS's source rather than RHEL's as they used to maybe. |
…aversal-fix guests/redhat: Fixes #4450, add another expand_path ../ to get back to the guests directory
@mitchellh please can you reopen this ticket, it turns out my fix is for CentOS7, although needed, isn't the issue RHEL7 is currently getting (though will be once this issue is fixed) |
Yep, done :) |
^ PR for the fix. I've tested against both RHEL 7 Server and CentOS 7, but obviously not RHEL 7 Client/ComputeNode/Workstation |
@andytson What kind of information do you need from those channels? I have a subscription to a lot of channels that cover Server/workstation, etc. |
@kikitux I was thinking just checking the SRPMS for each RHEL7 flavour's redhat-release, to make sure the /etc/redhat-release they add all conform to the same regular expression as my PR. I expect they will. i.e.
|
@andytson, Thanks for all your work on this, it 1.6.5 works as expected! |
OS: RHEL7
Vagrant: built from
master
to avoid #4438Box: opscode/bento RHEL 7 (without chef.sh)
Possible duplicates of: #4259, #4195. #4078
Similar to: #2955
I am having one heck of a time getting a RHEL box up and running. The most recent of issues is:
The network configuration for this is:
I should note that the box does come up and I can
vagrant ssh
into it.Any thoughts on the error?
The text was updated successfully, but these errors were encountered: