help with package configuration in kickstart
Colin Watson
cjwatson at ubuntu.com
Sun Jul 15 14:30:15 BST 2007
On Mon, Jun 18, 2007 at 04:24:14PM -0400, Rohit Kumar Mehta wrote:
> Hi I have kickstart automatic (noninteractive) installation working in
> Feisty. Thanks Colin!
>
> However, I am having some trouble configuring machines the way I want
> them. I am wondering what the *best way* to do what I want is.
>
> Eventually we want to have a kickstarted machine configured with NIS,
> kerberos, autofs, and kerberized nfs.
>
> Right now I am just trying to get NIS to install properly.
>
> The packages section works great. In my ks.cfg I wrote:
>
> %packages
> openssh-server
> nis
>
> And both openssh-server and nis get installed.
>
> However nis does not get configured properly creating problems. I also
> have the following lines in my ks.cfg:
>
> preseed openssh-server ssh/new_config boolean true
> preseed openssh-server ssh/use_old_init_script boolean true
> preseed openssh-server ssh/encrypted_host_key_but_no_keygen note
> preseed openssh-server ssh/disable_cr_auth boolean false
> preseed nis nis/domain string engr.uconn.edu
>
> I believe the last line (the one with nis in it), should write
> "engr.uconn.edu" into /etc/defaultdomain. Is this correct?
This is my belief. If it doesn't work, it sounds like a bug in nis.
Installing with DEBCONF_DEBUG=developer in the kernel boot parameters
ought to give you a syslog including information I could use to see
what's going wrong. (Don't use a valuable password in this mode.)
> Also is there a way I can avoid installing @ubuntu-desktop? It would
> make my testing go a LOT faster!
It should only be installed if it's listed in %packages ...?
--
Colin Watson [cjwatson at ubuntu.com]
More information about the Ubuntu-installer
mailing list