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

same /var/lib/dbus/machine-id #143

Closed
StefanScherer opened this Issue Oct 27, 2016 · 4 comments

Comments

Projects
2 participants
@StefanScherer
Member

StefanScherer commented Oct 27, 2016

Issued in hypriot/flash#92 by @cescoferraro, this seems a problem in building the image

sudo -E flash -n athenas -s HACK-MEEE -p password https://downloads.hypriot.com/hypriotos-rpi-v1.0.0.img.zip

sudo -E flash -n esparta -s HACK-MEEE -p password https://downloads.hypriot.com/hypriotos-rpi-v1.0.0.img.zip

sudo -E flash -n zeus -s HACK-MEEE -p password https://downloads.hypriot.com/hypriotos-rpi-v1.0.0.img.zip

HypriotOS/armv7: pirate@athenas in ~
$ cat /var/lib/dbus/machine-id
9989a26f06984d6dbadc01770f018e3b

HypriotOS/armv7: pirate@esparta in ~
$ cat /var/lib/dbus/machine-id
9989a26f06984d6dbadc01770f018e3b

HypriotOS/armv6: pirate@zeus in ~
$ cat /var/lib/dbus/machine-id
9989a26f06984d6dbadc01770f018e3b

On debian machines there is a hash under cat /var/lib/dbus/machine-id that uniquely identifies each machine. My program depends on it, but the flash tool seems to bring its own from https://downloads.hypriot.com/hypriotos-rpi-v1.0.0.img.zip. Is there another way I can uniquely identify a machine under Hypriot?

@StefanScherer

This comment has been minimized.

Member

StefanScherer commented Mar 22, 2018

Fixed with #179

@StefanScherer StefanScherer moved this from To do to Done in HypriotOS Mar 22, 2018

@rhuss

This comment has been minimized.

Contributor

rhuss commented Mar 22, 2018

@StefanScherer cool, thx ! Do you know since version of Hypriot this fix is included so that I can update my README ?

@StefanScherer StefanScherer added this to the v1.8.0 milestone Mar 22, 2018

@StefanScherer

This comment has been minimized.

Member

StefanScherer commented Mar 22, 2018

Starting with HypriotOS 1.7.0 where we introduced cloud-init.
BTW: https://github.com/hypriot/image-builder-rpi/releases/tag/v1.8.0-rc1 pre-released today ;-) Would love to hear feedback how it works for you.

@rhuss

This comment has been minimized.

Contributor

rhuss commented Mar 22, 2018

cool. I'm trying to give a spin later today ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment