PDA

View Full Version : How to add extra packages to Ubuntu install CD using kickstart



satheesh3
April 2nd, 2014, 01:10 PM
Hai,
I used kickstart to automate Ubuntu12.04 alternate iso installation. I am able to automate the installation. Now I want to install some extra packages such as teamviewer during OS installation. But the problem is that it cannot be installed online. I want to add these packages to install CD and install those packages during installation itself.

Does anyone know how to do this?Any help is appreciated.

Thank you

su:bhatta
April 2nd, 2014, 01:23 PM
Have a look here :
https://help.ubuntu.com/community/LiveCDCustomization

and maybe here: https://help.ubuntu.com/community/InstallCDCustomization

satheesh3
April 2nd, 2014, 01:45 PM
Hai,
Thank you for the reply.
But, I've already referred this link and was unable to find a solution for my problem.
My packages cannot be installed using apt-get(example:if I want to install Teamviewer, I've to download it manually and then install it using dpkg). I like to add the package to install CD (if possible) and install it during or after OS installation.

nachoarsuaga
October 24th, 2014, 10:58 AM
Hi,

You can execute scripts after the installation on the "postinstall" section of the kickstart file:

%post
echo "Now performing post-KickStart installation tasks"

Regards,