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 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

1 Answer 1

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

 
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.