Hello Christian.

Yes, I need that variable before the installation process starts because I want 
to write a partition script with if clauses based on nodenames. Any ideas to 
achieve that?

Thank you so much in advance for any help.

Msc. Mercy Anchundia Ruiz.
Especialista de TICS
Tlf. +59322976300  EXT 1537
https://hpcmodemat.epn.edu.ec/
Síguenos en Twitter: @HPCModemat
MODEMAT -EPN

From: Christian Caruthers <ccaruth...@lenovo.com>
Sent: martes, 9 de marzo de 2021 12:47
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc: SOPORTE MODEMAT <soporte.mode...@epn.edu.ec>
Subject: RE: [xcat-user] [External] dynamic disk partitioning with xcat

Are you asking about doing this as a prescript? I'm not sure what environment 
variables are in place at that point.

Regards,
Christian Caruthers
Lenovo Professional Services
Mobile: 757-289-9872

From: SOPORTE MODEMAT via xCAT-user 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Sent: Monday, March 8, 2021 12:45
To: xCAT Users Mailing list 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Cc: SOPORTE MODEMAT 
<soporte.mode...@epn.edu.ec<mailto:soporte.mode...@epn.edu.ec>>
Subject: Re: [xcat-user] [External] dynamic disk partitioning with xcat

Hello Christian.

Thank you so much for your reply. I really appreciate it. But I wonder if I use 
that as a postscript, can I read the $NODE variable at the time of the disk 
partitioning process ?

Saludos cordiales.

Msc. Mercy Anchundia Ruiz.
Especialista de TICS
Tlf. +59322976300  EXT 1537
https://hpcmodemat.epn.edu.ec/
Síguenos en Twitter: @HPCModemat
MODEMAT -EPN

From: Christian Caruthers <ccaruth...@lenovo.com<mailto:ccaruth...@lenovo.com>>
Sent: lunes, 8 de marzo de 2021 10:52
To: xCAT Users Mailing list 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Subject: Re: [xcat-user] [External] dynamic disk partitioning with xcat

I've found it helpful to simply create a postscript called something like 
xcatenv:

/usr/bin/env > /tmp/xcatenv

... And run it on a node w/ updatenode. This will give you all the 
postscripting environment variables. In your case, I believe the one you're 
looking for is $NODE, though you could also look at group affiliation as well.

Regards,
Christian Caruthers
Lenovo Professional Services
Mobile: 757-289-9872

From: SOPORTE MODEMAT via xCAT-user 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Sent: Friday, March 5, 2021 13:40
To: xCAT Users Mailing list 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Cc: SOPORTE MODEMAT 
<soporte.mode...@epn.edu.ec<mailto:soporte.mode...@epn.edu.ec>>
Subject: [External] [xcat-user] dynamic disk partitioning with xcat
Importance: High

Hello guys.

Could you please give me any idea to specify a dynamic disk partitioning based 
on the nodename? I think that a script for disk partitioning can help but I do 
not know which is the environmental variable that can help me to create an if 
clause or something like that.

Thank you in advance for any help. I would really appreciate it.

Soporte
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to