Gentoo Archives: gentoo-catalyst

From: Daniel Cordero <gentoo.catalyst@××××.ws>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] [PATCH] Remove /etc/machine-id in all stages
Date: Thu, 04 Feb 2021 11:08:05
Message-Id: 20210204110721.33846-2-gentoo.catalyst@xxoo.ws
1 From: Daniel Cordero <catalyst@××××.io>
2
3 Machine IDs are unique per installation, but if they are retained in a
4 stage tarball, all installations from that stage share the same machine
5 id.
6
7 Signed-off-by: Daniel Cordero <catalyst@××××.io>
8 ---
9 catalyst/base/stagebase.py | 1 +
10 1 file changed, 1 insertion(+)
11
12 diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
13 index ed4d1227..2e78b288 100644
14 --- a/catalyst/base/stagebase.py
15 +++ b/catalyst/base/stagebase.py
16 @@ -427,6 +427,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
17
18 def set_cleanables(self):
19 self.settings['cleanables'] = [
20 + "/etc/machine-id",
21 "/etc/resolv.conf",
22 "/var/tmp/*",
23 "/tmp/*",
24 --
25 2.26.2

Replies

Subject Author
Re: [gentoo-catalyst] [PATCH] Remove /etc/machine-id in all stages Matt Turner <mattst88@g.o>