Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I image many computers with Ubuntu. I use Clonezilla and have a script that does things like setting the hostname on first boot. I'd like this script to ask me a question. How can this be achieved? Upstart is concurrent and doesn't show any particular terminal so I'm not sure how this could be done.

If you're wondering why, I'd like for it to ask me what school I'm at which would run a specific script for that school's customizations. This way I can have one company image that runs everywhere I work in.

share|improve this question

I've never used Clonezilla but looking at the boot parameters here I would say you just need to make sure that ocs_live_batch="no" so that your script is interactive and then you should be able to use something like this in to read input from the terminal.

share|improve this answer

Your Answer


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.