kickstart installation of Ubuntu Desktop

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Nov 19 05:08:50 UTC 2009


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 using http method?

Please suggest/guide.

Thanks

Kaushal




More information about the Kickstart-list mailing list