Using this as a reference:
https://sourceforge.net/p/xcat/wiki/Exporting_more_table_attributes_to_nodes/
Currently, we have n1...n10 configured in xCAT. These are internal hostnames.
All of these hosts have external "public" IP addresses, and the desire is to
have the hosname match the public name.
Short of setting up DNS for the public IPs, which I really don't want to do
since there will be an external DNS server w/ that info, I thought I could use
an unused table.field (prodkey.key) for a <profile>.envlist file. So I have:
ls -la /install/custom/install/rh/x86_84/chum.envlist
prodkey,key,,NEWHOST
(NOTE: I have also tried this in /install/custom/install/rh/)
lsdef n1 | egrep 'profile|post|productkey'
postbootscripts=<snip>,chumhostname
productkey=rabidgator1.floridaman.arrr.edu
profile=chum
cat /install/postscripts/chumhostname
hostnamectl set-hostname $NEWHOST
When I try this with updatenode, it doesn't appear to be grabbing the info from
that envlist file. Is this feature still in use? If not, what's a recommended
way to set a different hostname?
Regards,
Christian Caruthers
Lenovo Professional Services
Mobile: 757-289-9872
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user