kickstart installation of Ubuntu Desktop

Michael Welle mwe012008 at gmx.net
Thu Nov 19 08:17:02 UTC 2009


Hi,

Kaushal Shriyan <kaushalshriyan at gmail.com> writes:
[...]
> ###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?
have a look at the debconf documentation. Using environment variables
you can switch the installer frontend. In your application something
like 

DEBIAN_FRONTEND=noninteractive
apt-get -y install ocsinventory-agent

might do the trick.

Regards
hmw

-- 
biff4emacsen - A biff-like tool for (X)Emacs
http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html
Flood - Your friendly network packet generator
http://www.c0t0d0s0.de/flood/flood.html




More information about the ubuntu-users mailing list