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
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
11-21-2009, 03:54 AM
Santiago Zarate
Automated deployments of Ubuntu
You should be able to use a debian preseed file within the debian installer i guess...
also... if you're creating a pxe server... then itshould be even easier to add extra
repos..
--
Santiago Zarate
santiago-ve@ubuntu.com
(+58) 4129864175
(+58) 4241073905
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam