preseeding/kickseeding sun-java6 from Kickstart

Colin Watson cjwatson at ubuntu.com
Fri Jul 27 09:56:43 BST 2007


On Thu, Jul 26, 2007 at 04:43:58PM -0400, Rohit Kumar Mehta wrote:
> Hi guys, I don't think my question went through to the list (due
> to attached syslog.gz).  Let me try again:
> 
> Using the Feisty Kickstart, I am trying to install sun-java6-bin. 
> However, the installer hangs asking me to agree to Sun's license 
> agreement.  So I put the following in my ks.cfg way above the packages 
> definition:
> 
> preseed sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true
> preseed sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true
> preseed sun-java6-jre sun-java6-jre/stopthread boolean true
> preseed sun-java6-jre sun-java6-jre/jcepolicy note
> preseed sun-java6-bin shared/error-sun-dlj-v1-1 error
> preseed sun-java6-jre shared/error-sun-dlj-v1-1 error
> preseed sun-java6-bin shared/present-sun-dlj-v1-1 note
> preseed sun-java6-jre shared/present-sun-dlj-v1-1 note

You've got the syntax of the Kickstart 'preseed' command a little wrong.
It should be:

  preseed --owner sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true

etc.

> If there is something obvious I am doing wrong, I'd love to know!
> My gzipped syslog file is available here:
> http://www.engr.uconn.edu/~rohitm/syslog.gz

  $ wget -q -O- http://www.engr.uconn.edu/~rohitm/syslog.gz | zcat | grep kickseed
  Jul 26 15:24:32 kickseed: Downloading kickstart file from http://aptmania.engr.uconn.edu/ks.cfg
  Jul 26 15:24:32 kickseed: Reading kickstart file from /var/spool/kickseed/fetch/http/aptmania.engr.uconn.edu/ks.cfg
  Jul 26 15:24:40 kickseed: preseed command requires key, type, and value
  Jul 26 15:24:40 kickseed: preseed command requires key, type, and value
  Jul 26 15:24:40 kickseed: preseed command requires key, type, and value
  Jul 26 15:24:40 kickseed: preseed command requires key, type, and value
  Jul 26 15:24:40 kickseed: preseed command requires key, type, and value
  Jul 26 15:24:41 kickseed: preseed command requires key, type, and value
  Jul 26 15:24:41 kickseed: preseed command requires key, type, and value
  Jul 26 15:24:42 kickseed: can't clear multiple drives; assuming just the first one
  Jul 26 15:24:43 kickseed: firewall preseeding not supported yet
  Jul 26 15:24:43 kickseed: firewall preseeding not supported yet
  Jul 26 15:24:51 preseed: successfully loaded preseed file from /var/spool/kickseed/parse/preseed.cfg
  Jul 26 15:26:56 kickseed: Clearing first disk (/dev/sda) for Kickstart 'clearpart --all'

That's what the "preseed command requires key, type, and value" errors
are about.

Cheers,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the Ubuntu-installer mailing list