Moving data from %pre to %post in Red Hat Enterprise Linux 6 installation

Solution Unverified - Updated -

Issue

  • We have code in the %pre of our kickstart that asks several questions. I want the answers to be available to the %post.
  • I currently do not have our %post using --nochroot and would prefer to keep it that way.
  • Will you please help me to develop the exact details necessary to write out a file in %pre and read it in during %post not using --nochroot?

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content