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

Fedora has different nfs init script name #450

Closed
jonleighton opened this issue Aug 2, 2011 · 6 comments
Closed

Fedora has different nfs init script name #450

jonleighton opened this issue Aug 2, 2011 · 6 comments
Milestone

Comments

@jonleighton
Copy link

This line assumes the init script location for nfs is "nfs-kernel-server":

https://github.com/mitchellh/vagrant/blob/master/lib/vagrant/hosts/linux.rb#L32

On Fedora it is simply "nfs".

@mitchellh
Copy link
Contributor

Jon,

Got it. Can you help me a bit more and let me know how I can uniquely identify fedora? There is usually a file in /etc such as /etc/redhat-version.

If I can get this then I can special case that OS.

Best,
Mitchell

@jonleighton
Copy link
Author

$ cat /etc/redhat-release 
Fedora release 15 (Lovelock)

@mitchellh
Copy link
Contributor

I'm just pushing the fix for this now, would you mind testing it please? Much appreciated.

@jonleighton
Copy link
Author

@mitchellh It doesn't work, presumably because your code is checking the file /etc/redhat-version, but the file on my system is actually /etc/redhat-release.

@mitchellh
Copy link
Contributor

Oops :) Fixed: e739e68

@jonleighton
Copy link
Author

Cool, it works now. Thanks.

@hashicorp hashicorp locked and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants