I agree, I don't think it is supported. I think I can make it work using the 
solution I outlined, but that doesn't appear to be working according to the 
documentation.

Looking for verification of what I'm trying to do, confirmation that the 
envlist files are still parsed (it appears they are), and/or suggestions.

Regards,
Christian Caruthers
Lenovo Professional Services
Mobile: 757-289-9872
Sent from my mobile device




On Mon, Aug 21, 2017 at 5:58 PM -0500, "Kevin Keane" 
<kke...@sandiego.edu<mailto:kke...@sandiego.edu>> wrote:

The way I read it, this was a design suggestion for a future version of xCAT; 
it is described as a low-priority item. It may not yet be implemented.

On Mon, Aug 21, 2017 at 3:42 PM, Christian Caruthers 
<ccaruth...@lenovo.com<mailto:ccaruth...@lenovo.com>> wrote:
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<http://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<tel:(757)%20289-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
xCAT-user@lists.sourceforge.net<mailto:xCAT-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user




--

_______________________________________________________________________
Kevin Keane | Systems Architect | University of San Diego ITS | 
kke...@sandiego.edu<mailto:kke...@sandiego.edu>
Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 
619.260.6859<tel:%28619%29%20260-2298>
------------------------------------------------------------------------------
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
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to