weaveworks / footloose

Container Machines - Containers that look like Virtual Machines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non-unique /etc/machine-id on debian10

kke opened this issue · 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.