* [gentoo-catalyst] [PATCH] Remove /etc/machine-id in all stages
@ 2021-02-04 11:07 Daniel Cordero
2021-02-21 2:04 ` Matt Turner
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Cordero @ 2021-02-04 11:07 UTC (permalink / raw
To: gentoo-catalyst
From: Daniel Cordero <catalyst@0xdc.io>
Machine IDs are unique per installation, but if they are retained in a
stage tarball, all installations from that stage share the same machine
id.
Signed-off-by: Daniel Cordero <catalyst@0xdc.io>
---
catalyst/base/stagebase.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index ed4d1227..2e78b288 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -427,6 +427,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
def set_cleanables(self):
self.settings['cleanables'] = [
+ "/etc/machine-id",
"/etc/resolv.conf",
"/var/tmp/*",
"/tmp/*",
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [gentoo-catalyst] [PATCH] Remove /etc/machine-id in all stages
2021-02-04 11:07 [gentoo-catalyst] [PATCH] Remove /etc/machine-id in all stages Daniel Cordero
@ 2021-02-21 2:04 ` Matt Turner
0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2021-02-21 2:04 UTC (permalink / raw
To: gentoo-catalyst
On Thu, Feb 4, 2021 at 6:08 AM Daniel Cordero <gentoo.catalyst@xxoo.ws> wrote:
>
> From: Daniel Cordero <catalyst@0xdc.io>
>
> Machine IDs are unique per installation, but if they are retained in a
> stage tarball, all installations from that stage share the same machine
> id.
>
Thanks, applied!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-21 2:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-04 11:07 [gentoo-catalyst] [PATCH] Remove /etc/machine-id in all stages Daniel Cordero
2021-02-21 2:04 ` Matt Turner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox