[CentOS] more kickstart - saving %pre decisions for %post
Alan McKay
alan.mckay at gmail.comTue Jan 12 22:42:45 UTC 2010
- Previous message: [CentOS] offtopic repo's further discussion
- Next message: [CentOS] more kickstart - saving %pre decisions for %post
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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"
- Previous message: [CentOS] offtopic repo's further discussion
- Next message: [CentOS] more kickstart - saving %pre decisions for %post
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list