On Fri, Mar 22, 2013 at 2:07 PM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL
TECHNOLOGY SOLUTIONS INC] <[email protected]> wrote:

> RHEL 6.4 Cobbler 2.2.3****
>
> ****
>
> I have a kickstart as follows:****
>
> ** **
>
> # this file intentionally left blank****
>
> # admins:  edit it as you like, or leave it blank for non-interactive
> install****
>
> $SNIPPET('testit')****
>
> ****
>
> The snippet is as follows:****
>
> ** **
>
> #set $snipname='SDO_' + $stringname + '_snippet'****
>
> ** **
>
> When I try to generate the kickstart from a profile, I get****
>
> ** **
>
> # this file intentionally left blank****
>
> # admins:  edit it as you like, or leave it blank for non-interactive
> install****
>
> $SNIPPET('testit')****
>
> ** **
>
> What I doing wrong that the snippet is not being executed?****
>
>
>
Most likely, you're not setting $stringname correctly.  You should have the
following above the shown #set line:

#set $stringname = $getVar("stringname","nostringnameset")
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler
  • [cobble... Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC]
    • Re... James Cammarata
      • ... Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC]

Reply via email to