feat: bind mount /etc/machine-id read-only - #196
Conversation
|
interesting. I'm not really sure whether there are any broad implications here. Seems reasonable though at a first glance. |
|
I asked Claude to research @matthewwardrop and here's what it said: image ghcr.io/frostyard/ubuntu-intune:insiders /etc/machine-id = 8d8893b95e2b437a95aa19a178dede84 |
|
Yeah. The machine-id is baked into the image, but I did find myself having to nuke the setup a few times during development; which then registered a "new" machine each time. I don't have super strong feelings about this :). On my system I ended up switching over to Himmelblau, once I got it working... so I don't have much skin in the game either. Maybe make an option to pass in a static machine-id or something. I'm glad I was able to get Intuneme working, though, as a backup in case my other approach ceases to work :). Thanks for your excellent work here! |
I recently started working with intune, and was frustrated that the machine-id kept changing as I fixed issues I was finding (when recreate failed). I don't know if this is something you would want to upstream, but I like the stability offered by propagating the true machine id into the container. Perhaps there are good reasons not to do this.