Automated deployments of Ubuntu

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Nov 19 17:02:47 UTC 2009


Hi,

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?

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.

Please suggest.

Thanks,

Kaushal




More information about the ubuntu-server mailing list