Re: Kickstart-list Digest, Vol 80, Issue 4

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

 



Hello Joe:

This is a followup to a previous posting - I need to alter constants in the kickstart file, which can't be altered in the %pre or %post sections. In particular, I'm creating an automated install, however the source installation device varies from machine to machine (on some machines, it's sda, on some it is sdb, and on some it is the last available sd device). The thinking here is that I can put statements in the %pre section which will modify the kickstart file only if the system is different from how the kickstart is currently set, then I want to rerun Anaconda at that point. When the Anaconda restarts (or starts), if it sees that the file matches the system, it continues with the kickstart process without modifying the file and without restarting Anaconda. I have no problem with the logic or modifying the file - I just need a way to restart anaconda without rebooting the machine or rerunning GRUB. Maybe even run a second instance of Anaconda from within Anaconda (but then clean exiting will become an issue).

Lance

On Wed, Oct 6, 2010 at 9:00 AM, <kickstart-list-request@xxxxxxxxxx> wrote:
Send Kickstart-list mailing list submissions to
       kickstart-list@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
       https://www.redhat.com/mailman/listinfo/kickstart-list
or, via email, send a message with subject or body 'help' to
       kickstart-list-request@xxxxxxxxxx

You can reach the person managing the list at
       kickstart-list-owner@xxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Kickstart-list digest..."

Today's Topics:

  1. Can anaconda rerun itself? (Lance Gropper)
  2. Re: Can anaconda rerun itself? (Joe Wulf)
  3. Re: Can anaconda rerun itself? (Chris Lumens)


---------- Forwarded message ----------
From: Lance Gropper <streamscalelance@xxxxxxxxx>
To: kickstart-list@xxxxxxxxxx
Date: Tue, 5 Oct 2010 13:44:53 -0700
Subject: Can anaconda rerun itself?
Hello Ya'all:

Is it possible to put something in the %pre such that Anaconda re-runs itself without rebooting the system or running grub?

Lance



---------- Forwarded message ----------
From: Joe Wulf <joe_wulf@xxxxxxxxx>
To: Discussion list about Kickstart <kickstart-list@xxxxxxxxxx>
Date: Tue, 5 Oct 2010 14:29:31 -0700 (PDT)
Subject: Re: Can anaconda rerun itself?
Hello Lance---what is the use case?  What will you leverage this for?
 
R,
-Joe Wulf

From: Lance Gropper <streamscalelance@xxxxxxxxx>
To: kickstart-list@xxxxxxxxxx
Sent: Tue, October 5, 2010 4:44:53 PM
Subject: Can anaconda rerun itself?

Hello Ya'all:

Is it possible to put something in the %pre such that Anaconda re-runs itself without rebooting the system or running grub?

Lance



---------- Forwarded message ----------
From: Chris Lumens <clumens@xxxxxxxxxx>
To: kickstart-list@xxxxxxxxxx
Date: Wed, 6 Oct 2010 09:07:51 -0400
Subject: Re: Can anaconda rerun itself?
> Is it possible to put something in the %pre such that Anaconda re-runs
> itself without rebooting the system or running grub?

anaconda does not do a good job cleaning up after itself since it knows
it runs with /tmp on a ramdisk and nothing will persist anyway.
Therefore while it's likely you can do this, there's going to be a bunch
of stuff in /tmp and mounted on the system that you will have to clean
up yourself.

I think this is a bad idea, though.

- Chris



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

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.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