Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need a way to customize my system automatically either at install time or right after.

Example (system just finished installing):

  • Install a custom list of packages (e.g. gimp, inkscape, certain plugins)
  • Uninstall others (e.g. evolution)
  • Set certain options (e.g. +ntp)
  • Replace standard config with custom config (e.g. /etc/sshd/*)

I'm talking about an automatic way to do that.

share|improve this question

1 Answer 1

I would advise you to make a shell script.

basically you will enter all the commands you would normally use to accomplish these tasks in a file. You copy this on the pc right after installation and execute it. there is lot's of good tutorials out there there are lots of bash tutorials out there but here are a few suggestions to get you started.

!#/bin/bash

sudo apt-get remove evolution

sudo apt-get install gimp inkscape flashplugin-installer

cp myconfigfile /etc/sshd/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.