Re: Proxmox, clones and cf-key
Martin Simons <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
Well, not quite. cf-key keeps generating the same md5 hash key after removal of the original one. So the first question remains. I feel I have to dive into UUID's a bit. Best regards, Martin. On Friday, 4 March 2022 at 17:23:07 UTC+1 Nick Anderson wrote: > Martin Simons <[email protected]> writes: > > Now the issue: I looked at the cf-key output and I noticed that only a >> couple of machines were reported. The different machines seem to share the >> same MD5 key. >> >> How does CFEngine generate those keys? >> > If the keys are identical then I would expect that those hosts were cloned > from a machine that had cfengine installed. > > Typically, when you install a cfengine package cf-key is executed to > generate a key pair. In environments with more stringent requirements keys > are generated ahead of time and placed during provisioning. > > If you install cfengine into a template then you should clear out the > ppkeys and state dir so that those are fresh for a vm provisioned from that > template. > > Personally, I prefer to have cfengine installed on first boot so that I > don't have to update the template later but there are numerous ways to skin > that cat. > -- You received this message because you are subscribed to the Google Groups "help-cfengine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/d5cc4efa-088c-478f-be47-4e9689ca7edcn%40googlegroups.com.