I found a solution to the above issue.

We had been updating xCAT from 2.3 version, and copying the templates from
one version to other.

After I removed the URL from the template, i observed that xCAT
automatically populated the same from OSimage table.

However, it would be good to know, how do we export xCAT variables before
the postscript section.


On Mon, Jun 16, 2014 at 4:57 PM, Lohit Valleru <[email protected]>
wrote:

> Hi all,
>
> I am currently using xCAT 2.8.4.1.
>
> I understand that xCAT variables could be used during post script
> installation, by editing the postscript template that xCAT has provided.
>
> However, i would like to use few variables before postscript installation :
>
> For example, the following table variable, helps receive the nfs server
> information:
>
> #TABLE:noderes:$NODE:nfsserver#
>
> Is there anyway i could receive the linux image table information in the
> same way?
>
> I am trying to customize and automate the osimage directories to custom
> directories instead of xCAT default.
>
> Since linux image table does not have $NODE vause
> I have tried to use
>
> url --url http://
> #TABLE:noderes:$NODE:nfsserver#/#TABLE:linuximage:\#TABLE:nodetype:$NODE:provmethod#\:pkgdir#
>
> or
>
> PROVMETHOD=#TABLE:nodetype:$NODE:provmethod#
>
> PKGDIR=#TABLE:linuximage:$PROVMETHOD:pkgdir#
>
> url --url http://#TABLE:noderes:$NODE:nfsserver#/$PKGDIR
>
> I need to find a way to nest the table variables or assign the table value
> to a variable and use them later.
>
> Else, i would be happy to know - how does xCAT populate $NODE, and if i
> could populate other variables in a similar way.
>
> Please do let me know, if anyone has tried doing the above.
>
> Thank you,
>
> Lohit
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to