We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
This originated here: schollz/croc#137
Your readme states: BSD uses /etc/hostid
BSD uses /etc/hostid
However, OpenBSD uses /etc/machine-id:
$ ls -l /etc/machine-id -rw-r--r-- 1 root wheel 33 May 1 2018 /etc/machine-id
I don't know go, so I don't know where to fit this update into your file: https://github.com/denisbrodbeck/machineid/blob/master/id_bsd.go
The text was updated successfully, but these errors were encountered:
Hi, just passing through before filing my own issue…
Maybe you could reuse the logic from id_linux.go, trying to read a file and falling back to another one if the first attempt doesn't succeed?
id_linux.go
Cheers, Cyril.
Sorry, something went wrong.
OpenBSD does not use machine-id. /etc/machine-id comes from dbus.
@rnagy,
Oh, I'm sorry! thanks for correcting me.
No branches or pull requests
Hi,
This originated here:
schollz/croc#137
Your readme states:
BSD uses /etc/hostid
However, OpenBSD uses /etc/machine-id:
I don't know go, so I don't know where to fit this update into your file:
https://github.com/denisbrodbeck/machineid/blob/master/id_bsd.go
The text was updated successfully, but these errors were encountered: