Re: [389-users] New Kickstart for 389-DS?

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

 



2010/1/30 Ajeet S Raina <ajeetraina@xxxxxxxxx>:
> 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.
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux