chrisandClaude Opus 5.5 80739344bf create-lx-container.sh: give each new container its own machine-id.
The debian template copies the rootfs 1:1 from the cache
(/var/cache/lxc/debian/rootfs-<release>-<arch>/), including the cached
/etc/machine-id. All containers created from the same cache therefore
shared the same machine-id.

After lxc-create, write a new random machine-id into the container's
rootfs and make /var/lib/dbus/machine-id a symlink to /etc/machine-id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:15:20 +01:00
2021-05-02 23:27:53 +02:00
2018-04-11 04:13:19 +02:00
S
Description
No description provided
180 KiB
0 Stars 1 Watchers 0 Forks
Languages
Shell 100%