footloose icon indicating copy to clipboard operation
footloose copied to clipboard

Non-unique /etc/machine-id on debian10

Open kke opened this issue 3 years ago • 0 comments

Machine IDs on debian10 images aren't regenerated so they're identical.

cluster:
  privateKey: ~/.ssh/id_rsa
machines:
- count: 2
  backend: docker
  spec:
    image: quay.io/footloose/debian10
    name: host%d
    portMappings:
    - containerPort: 22
      hostPort: 9022
$ footloose ssh root@host0 cat /etc/machine-id
3766705eb195582e8168a9a1b913c7c7
$ footloose ssh root@host1 cat /etc/machine-id
3766705eb195582e8168a9a1b913c7c7

This breaks stuff like some kube components that use machine-id for node identification.

kke avatar Dec 15 '22 07:12 kke