Re: Detect System from MAC Address Koan Patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



adamwolf@xxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxx
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

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux