more kickstart - saving %pre decisions for %post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hey again folks,

How can I save answers to questions in %pre, for use in %post?

I'm assuming (though have not yet tried) that variables won't live that long.

Could I save them off to /tmp in a file, and retrieve them?

e.g.

%pre
echo "VARNAME=$VARNAME" >> /tmp/varfile


%post
grep ^VARNAME= /tmp/varile


Or some such ...

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of "In Defense of Food"
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux