diff --git a/configs/cb-aarch64.yaml b/configs/cb-aarch64.yaml index 2c42513..4e940d7 100644 --- a/configs/cb-aarch64.yaml +++ b/configs/cb-aarch64.yaml @@ -22,6 +22,7 @@ images: - method: lxd scripts: - securetty + - machine_id packages: - apt-scripts - systemd-settings-disable-kill-user-processes @@ -33,6 +34,7 @@ images: - method: lxd scripts: - securetty + - machine_id rootfs-sysvinit: target: ve/sysvinit-etcnet kinds: @@ -45,7 +47,8 @@ images: target: vm/cloud-systemd kinds: - qcow2c - # scripts: + scripts: + - machine_id packages: - update-kernel - apt-scripts @@ -69,6 +72,17 @@ branches: branding: alt-starterkit scripts: + machine_id: + contents: | + #!/bin/sh -exu + + etc_machine_id=/etc/machine-id + dbus_machine_id=/var/lib/dbus/machine-id + + rm -f "$etc_machine_id" "$dbus_machine_id" + touch "$etc_machine_id" + global: no + number: 90 securetty: contents: | #!/bin/sh diff --git a/configs/cb-ve-other.yaml b/configs/cb-ve-other.yaml index 24be6d7..94952ae 100644 --- a/configs/cb-ve-other.yaml +++ b/configs/cb-ve-other.yaml @@ -22,6 +22,7 @@ images: - method: lxd scripts: - securetty + - machine_id packages: - apt-scripts - systemd-settings-disable-kill-user-processes @@ -33,6 +34,7 @@ images: - method: lxd scripts: - securetty + - machine_id rootfs-sysvinit: target: ve/sysvinit-etcnet kinds: @@ -61,6 +63,17 @@ branches: branding: alt-starterkit scripts: + machine_id: + contents: | + #!/bin/sh -exu + + etc_machine_id=/etc/machine-id + dbus_machine_id=/var/lib/dbus/machine-id + + rm -f "$etc_machine_id" "$dbus_machine_id" + touch "$etc_machine_id" + global: no + number: 90 securetty: contents: | #!/bin/sh diff --git a/configs/cb-ve-x86.yaml b/configs/cb-ve-x86.yaml index 179b41f..a3167ee 100644 --- a/configs/cb-ve-x86.yaml +++ b/configs/cb-ve-x86.yaml @@ -22,6 +22,7 @@ images: - method: lxd scripts: - securetty + - machine_id packages: - apt-scripts - systemd-settings-disable-kill-user-processes @@ -33,6 +34,7 @@ images: - method: lxd scripts: - securetty + - machine_id rootfs-sysvinit: target: ve/sysvinit-etcnet kinds: @@ -61,6 +63,17 @@ branches: branding: alt-starterkit scripts: + machine_id: + contents: | + #!/bin/sh -exu + + etc_machine_id=/etc/machine-id + dbus_machine_id=/var/lib/dbus/machine-id + + rm -f "$etc_machine_id" "$dbus_machine_id" + touch "$etc_machine_id" + global: no + number: 90 securetty: contents: | #!/bin/sh diff --git a/configs/cb-vm.yaml b/configs/cb-vm.yaml index 142874f..f320528 100644 --- a/configs/cb-vm.yaml +++ b/configs/cb-vm.yaml @@ -18,6 +18,8 @@ images: - ppc64le exclude_branches: - c8 + scripts: + - machine_id rename: regex: '(.*)\.qcow2c$' to: '\1.qcow2' @@ -32,7 +34,8 @@ images: exclude_branches: - p8 - c8 - # scripts: + scripts: + - machine_id packages: - update-kernel - apt-scripts @@ -69,6 +72,17 @@ branches: branding: alt-starterkit scripts: + machine_id: + contents: | + #!/bin/sh -exu + + etc_machine_id=/etc/machine-id + dbus_machine_id=/var/lib/dbus/machine-id + + rm -f "$etc_machine_id" "$dbus_machine_id" + touch "$etc_machine_id" + global: no + number: 90 securetty: contents: | #!/bin/sh