RE: Terminate a CDROM install from %pre

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

 



Actually that was my point exacty; that is I personaly see this as a bug in
anaconda.

But on the subject of actually stopping the install, you could always
reboot the system yourself.
Its just not as clean, because anaconda will basically get killed in that
scenario, rather than gracefully
going away.

So back to my original point, this would be a fine patch to anaconda, and
an even better bugzilla,
and if I had the time to look into I would create such a patch and bugzilla
report.

Cheers...james

P.S. don't forget the power of the update.img when patching anaconda.



                                                                                                                           
                    "Bodle, Donald E"                                                                                      
                    <donald_bodle@reyrey.        To:     "'kickstart-list@xxxxxxxxxx'" <kickstart-list@xxxxxxxxxx>         
                    com>                         cc:                                                                       
                    Sent by:                     Subject:     RE: Terminate a CDROM install from %pre                      
                    kickstart-list-admin@                                                                                  
                    redhat.com                                                                                             
                                                                                                                           
                                                                                                                           
                    04/02/03 04:36 PM                                                                                      
                    Please respond to                                                                                      
                    kickstart-list                                                                                         
                                                                                                                           
                                                                                                                           




Well, that would have been nice, but nope.  I put an exit 1 at the end of
the %pre section, and the install just pressed on.  Time to start digging
into the anaconda code, I guess....

If anyone already has done something like this, I'd appreciate the input.

Donald E. Bodle, Jr.
Sr. Systems Integration Engineer
Platform Development
The Reynolds and Reynolds Co.
(937) 485-1954


-----Original Message-----
From: james.oden@xxxxxxxxxxx [mailto:james.oden@xxxxxxxxxxx]
Sent: Wednesday, April 02, 2003 3:39 PM
To: kickstart-list@xxxxxxxxxx
Subject: Re: Terminate a CDROM install from %pre


I know this does not work, but shouldn't just exiting with a positive
return value cause
anaconda to fail?

Cheers...james




                    "Bodle, Donald E"

                    <donald_bodle@reyrey.        To:
"'kickstart-list@xxxxxxxxxx'" <kickstart-list@xxxxxxxxxx>
                    com>                         cc:

                    Sent by:                     Subject:     Terminate a
CDROM install from %pre
                    kickstart-list-admin@

                    redhat.com





                    04/02/03 03:37 PM

                    Please respond to

                    kickstart-list











Is there a best way to terminate an install from the %pre section?  There
are certain conditions which I can test for in %pre that would cause me to
want to terminate the install.



I'd like to be able to terminate the install and eject the install CDROM,
then reboot the system.



Donald E. Bodle, Jr.

Sr. Systems Integration Engineer

Platform Development

The Reynolds and Reynolds Co.

(937) 485-1954







_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list







[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux