Skip to content
Snippets Groups Projects
Commit 1c2fab9e authored by Emanuele Aina's avatar Emanuele Aina
Browse files

ospack: Empty machine-id so it's made unique on first boot


The apertis-customization package used to ship in tmpfiles.d/apertis.conf a
link from /etc/machine-id to /var/lib/dbus/machine-id to ensure that the
machine-id is unique.

This is now done automatically provided that /etc/machine-id is a empty file.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent d7083f31
No related branches found
No related tags found
1 merge request!93Subsume the useful bits of the apertis-customizazions package in the recipes
......@@ -472,6 +472,11 @@ actions:
- yelp
- yelp-tools
- action: run
chroot: true
description: "Empty /etc/machine-id so it's regenerated on first boot with an unique value"
command: echo > /etc/machine-id
- action: overlay
source: overlays/hostname
......
......@@ -373,6 +373,11 @@ actions:
- tinwell-dev
{{ end }}
- action: run
chroot: true
description: "Empty /etc/machine-id so it's regenerated on first boot with an unique value"
command: echo > /etc/machine-id
- action: overlay
source: overlays/hostname
......
......@@ -82,6 +82,11 @@ actions:
- openssh-server
- vim.tiny
- action: run
chroot: true
description: "Empty /etc/machine-id so it's regenerated on first boot with an unique value"
command: echo > /etc/machine-id
- action: overlay
source: overlays/hostname
......
......@@ -666,6 +666,11 @@ actions:
- tinwell-doc
- traprain-mock-service
- action: run
chroot: true
description: "Empty /etc/machine-id so it's regenerated on first boot with an unique value"
command: echo > /etc/machine-id
- action: overlay
source: overlays/hostname
......
......@@ -195,6 +195,11 @@ actions:
- tinwell
{{ end }}
- action: run
chroot: true
description: "Empty /etc/machine-id so it's regenerated on first boot with an unique value"
command: echo > /etc/machine-id
- action: overlay
source: overlays/hostname
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment