Cloud-init does not initialize systemd machine id
Bug #1563951 reported by
Greg Fefelov
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Systemd uses /etc/machine-id file to uniquely identify the machine and to provide machine ID to D-Bus. This file is generated with `systemd-
As far as I can see, all Wily Werewolf VMs provisioned in EC2 have the same machine-id ff1bed6402c14c5
Changed in cloud-init (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
Hi, machine- id-setup
This does look like it would be useful.
It seems like the thing I should do is :
once per instance remove /etc/machine-id and run systemd-
Ideally i think is that any system where the instance-id is a uuid, we could just populate /etc/machine-id with that instance-id. machine- id-setup does not indicate the proper way to provide a machine id other than letting it randomly generate one.
What wasnt clear was whether or not this would be sufficient. systemd-