<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <o:p>Well, as far as i can see this script doesn't even work in a
      normal shell, bash or sh...<br>
      <br>
       The last line says "read -p "Proceed with install? " install done
      clear chvt1 #%end<br>
      <br>
      Now put the whole stuff into a script, the last line (read...)
      whould look like this:<br>
      <br>
    </o:p>read -p "Proceed with install? " install<br>
    done (closing while)<br>
    clear<br>
    chvt1<br>
    %end<br>
    <br>
    But still, this doesn't work, you can type what you want, even "yes"
    and you won't get out of it, since you now read what is into
    "install" but have to action for it. So i made:<br>
    <br>
    read -p "Proceed with install? " install<br>
    if [ "$install" = "yes" ] || [ "$install" = "YES" ]; then exit<br>
    fi<br>
    done<br>
    clear<br>
    chvt1<br>
    %end<br>
    <br>
    That works. Maybe i'm stupid or something, but the original posted
    script is not functional ?!?<br>
    <br>
    The complete thing is like that:<br>
    <br>
    %pre<br>
    #!/bin/sh<br>
    exec < /dev/tty6 > /dev/tty6 2>&1<br>
    chvt 6<br>
    install="no"<br>
    while [ "$install" != "yes" ] || [ "$install" != "YES" ]; do<br>
    clear<br>
    echo<br>
    echo
'********************************************************************************'<br>
    echo '*                              W A R N I N
    G                                   *'<br>
    echo
    '*                                                                             
    *'<br>
    echo '*       This process will install a completely new operating
    system!           *'<br>
    echo
    '*                                                                             
    *'<br>
    echo '*     Do you wish to continue? (Type the entire word "yes" to
    proceed.)        *'<br>
    echo
    '*                                                                             
    *'<br>
    echo
'********************************************************************************'<br>
    echo<br>
    read -p "Process with install? " install<br>
    if [ "$install" = "yes" ] || [ "$install" = "YES" ]; then<br>
    exit<br>
    fi<br>
    done<br>
    chvt 1<br>
    %end<br>
    <br>
    <div class="moz-signature">
      <div class="moz-signature">
        <div class="moz-signature">
          <div class="Section1">
          </div>
        </div>
      </div>
    </div>
    <br>
    <br>
    Am 12.04.2012 13:30, schrieb Patrick Lists:
    <blockquote cite="mid:4F86BCC7.2060809@puzzled.xs4all.nl"
      type="cite">On 04/12/2012 09:53 AM, Markus Eyrich wrote:
      <br>
      <blockquote type="cite">Does this still work with CentOS 6 and
        Anaconda ? I can't get it to
        <br>
        work. Tried the very exact same code below and Anaconda just
        goes over
        <br>
        it and starts installing... Do i need to do anything more in the
        <br>
        kickstart file? Does it need to be in interactive or text mode
        or
        <br>
        something ?!
        <br>
      </blockquote>
      <br>
      I have not tried it on CentOS 6. I was just quoting from Chip's
      kickstart presentation. I always use text mode in my kickstart
      files. Have you tried that? Maybe Chip Shabazian can shed some
      light on this?
      <br>
      <br>
      Regards,
      <br>
      Patrick
      <br>
      <br>
      _______________________________________________
      <br>
      Kickstart-list mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a>
      <br>
      <br>
      Diese E-Mail wurde von BytStorMail archiviert. Zum Ändern des
      Status:
<a class="moz-txt-link-freetext" href="http://217.195.2.162/bytstor/app/action/SearchStoredMailAction/template/storedMail%2CIndexMail.vm?redirect_template=storedMail%2CIndexMail.vm&mailid=1045717">http://217.195.2.162/bytstor/app/action/SearchStoredMailAction/template/storedMail%2CIndexMail.vm?redirect_template=storedMail%2CIndexMail.vm&mailid=1045717</a><br>
    </blockquote>
  </body>
</html>