kickstart installation of Ubuntu Desktop

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Nov 19 05:07:04 UTC 2009


On Thu, Nov 19, 2009 at 9:46 AM, NoOp <glgxg at sbcglobal.net> wrote:
> On 11/18/2009 08:00 AM, Kaushal Shriyan wrote:
>> Hi,
>>
>> Can i post my question in this mailing list about kickstart automated
>> installation of Ubuntu Desktop ?
>>
>> Thanks,
>>
>> Kaushal
>>
>
> Sure. Also see:
> https://help.ubuntu.com/community/KickstartCompatibility

Hi,

I have put the following under %post section in ks.cfg (kickstart.cfg file)

#####################################################################
%post
cd /tmp
wget http://192.xxx.xxx.xxx/ocsinventory-agent.sh
sh /tmp/ocsinventory-agent.sh
wget http://192.xxx.xxx.xxx/ocsinventory-agent.cfg -O
/etc/ocsinventory/ocsinventory-agent.cfg -o /tmp/log


###contents of ocsinventory-agent.sh file#################
apt-get -y install ocsinventory-agent
#####################################################################

when i run by hand while running the command apt-get install
ocsinventory-agent, It gives me a dialog window
saying

*http*
  or
*local*

and the next screen in the dialog window says

server .............................................

How can i handle the above scenario in the automatically installation
of Ubuntu Desktop?

Please suggest/guide.

Thanks

Kaushal




More information about the ubuntu-users mailing list