[et-mgmt-tools] Detect System from MAC Address Koan Patch
Michael DeHaan
mdehaan at redhat.com
Tue Jul 3 19:38:24 UTC 2007
adamwolf at feelslikeburning.com wrote:
> This patch enables a --autodetect-system argument to koan. It's for use
> with --replace-self. When --autodetect-system is used, koan gets the
> local mac address, compares it to the listed mac addresses it got from
> xmlrpc information. If there is a single match, that system is set, and
> the --replace-self process goes on as usual.
>
> The patch is off the 0.5.0 release.
>
> Currently, it grabs the mac address through some parsing of the output of
> ifconfig. This is non-ideal and is marked as such in the comments. I was
> pointed to some code that used rhpl, but that would require a new import
> in koan.
>
> Adam Wolf
> ------------------------------------------------------------------------
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
I really like this idea for doing re-imaging -- a good use case would be
for a lot of public terminal setups that do nightly reinstalls, etc --
but for
whatever reason didn't want to just use --profile ... or want the
abstraction capability to change what profile a system is pointed to.
I may tweak this slightly to make the argument duplication checks a bit
simpler, but otherwise, a good patch. I'll include this shortly.
Thanks!
--Michael
More information about the et-mgmt-tools
mailing list