diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2022-10-15 15:13:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2022-10-15 15:13:07 +0000 |
commit | 07d71ebbe23dcb3fdee0f76c7dbb9ef80393298a (patch) | |
tree | 0aeb102ea9ea289ad442f33bca505f10a0ca5aef | |
parent | Releasing version 20221002. (diff) | |
download | compute-tools-07d71ebbe23dcb3fdee0f76c7dbb9ef80393298a.tar.xz compute-tools-07d71ebbe23dcb3fdee0f76c7dbb9ef80393298a.zip |
Removing machine-id from cache to fix re-using it amongst all generated containers, thanks to Sakirnth Nagarasa <sakirnth@debian.org>.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-x | share/build-scripts/debconf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/build-scripts/debconf b/share/build-scripts/debconf index b589fce..36482a3 100755 --- a/share/build-scripts/debconf +++ b/share/build-scripts/debconf @@ -471,6 +471,9 @@ EOF rm -f "${DIRECTORY}/etc/mtab" ln -s /proc/self/mounts "${DIRECTORY}/etc/mtab" + # Removing machine-id + rm -f "${DIRECTORY}/etc/machine-id" + # Removing resolv.conf rm -f "${DIRECTORY}/etc/resolv.conf" cp /etc/resolv.conf "${DIRECTORY}/etc" |