Post postinstall configuration -- Setup Agent (aka firstboot)

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



Karanbir Singh <Mail-Lists@xxxxxxxxx> wrote:
> Something completely off the top of my head : why not use a
> %post --nochroot and copy the running environments
resolv.conf
> into the /mnt/sysimage/etc/ directory :) might work, might
not.
> please try and let us know how you get along!

That's _exactly_ what I do when I haven't pre-packaged it
into a RPM.

> If you do decide to go down this route look at :
> /usr/share/firstboot
> a lot of the dep's for firstboot itself come from its
> requests on X, looking through the code - you should be
> able to easily work around that. Specific files you
> prolly want to look at are
> firstboot.py and textWindow.py
> Add hooks at an appropriate place.

Oh, I just meant the firstboot bash initscript, not the GUI
"Setup Agent" it runs.  There is enough in the firstboot bash
script to show you how it does its simple conditionals.



-- 
Bryan J. Smith                | Sent from Yahoo Mail
mailto:b.j.smith@xxxxxxxx     |  (please excuse any
http://thebs413.blogspot.com/ |   missing headers)

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux