New Kickstart for 389-DS?

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

 



2010/1/30 Ajeet S Raina <ajeetraina at gmail.com>:
> Hello,
>
> One more question:
>
> /usr/sbin/setup-ds-admin.pl --silent --file=389-ds.inf
>
> I included the format under 389-ds.inf.
> Will it take during installation through Kickstart.
> I guess. yes.
> But what if I want to include it under kickstart file instead.
> Any Suggestion?

If you want to create a file you can use a here document. For example,
my kickstart has entries such as:

# Add Network Time Protocol for Time Synchronization
/bin/cat >> /etc/cron.hourly/99ntpdate <<'xxEOFxx'
#!/bin/sh
/usr/sbin/ntpdate chronos.digitalhermit.com | logger -p cron.info
xxEOFxx


This will create the script in /etc/cron.hourly, for example. You can
do a similar thing for the file you want to create.

I believe you can also use "expect" scripts within kickstart so you
could create an expect script (either manually or with autoexpect) and
use the here doc method to create a temporary expect script.


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux