kickstart installation of Ubuntu Desktop

Michael Welle mwe012008 at gmx.net
Thu Nov 19 17:48:52 UTC 2009


Hi,

Kaushal Shriyan <kaushalshriyan at gmail.com> writes:

> On Thu, Nov 19, 2009 at 1:47 PM, Michael Welle <mwe012008 at gmx.net> wrote:
[Performing unattended package installations]
> Hi hmw
>
> I did added DEBIAN_FRONTEND=noninteractive apt-get install
> ocsinventory-agent in the /tmp/ocsinventory-agent.sh script
>
> ####################################################################################################
> %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
> ####################################################################################################
>
> The issue which i am facing is that the ocsinventory-agent package is
> in the universe repository and not in main and restricted repository
> and in my pxe-server setup i do not have universe repository and the
> script  /tmp/ocsinventory-agent.sh mentioned in the %post script
> doesnot do its job correctly.
> The CD ISO image do not have universe repository :-(  Is there a way
> to handle this situation?
if your clients aren't allowed to suck the packages from an external
server you can build a mirror of the universe repository. Or you can
build your own repository containing only the missing packages. Or you
can just put the packages on a web-/ftp-/file-/whatever-server and suck
them from there and use dpkg for installation. The method you choose
depends mainly on the size of your infrastructure and the ratio of
comfort/work you want to gain.


> Also if i install it via .deb packages, I face the issue of answering
> it interactively for *http* and *server* values via the dialog window
> which cannot be incorporated in the unattended/automatic kickstart
> Ubuntu desktop installation.
Well, 'install via .deb packages' means that you use dpkg instead of the 
apt-get based script shown in the previous posting? No problem, dpkg
respects changing of the frontend via environment variables, too.

I'm a little bit puzzled here. Is your trouble in getting the desired
software packages to the client or is the problem more related to
performing an unattended installation? Or both ;)?


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