Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have to create an ubuntu virtual machine within kvm/libvirt with a specific configuration for a specific set of tasks. I want to do it in a programmatic and reproducible way.

I checked out preseeding but there is no mention of vm here. It seems like it is necessary to set up a dhcp or http server to send the preseeding file to the ubuntu installer. There must be a better way.

How would you install ubuntu in a vm with a preseeding file ?

share|improve this question
What is your problem with setting up an HTTP or DHCP server? How are you planning on performing the initial boot? –  Zoredache Jun 20 '13 at 23:06
Not about kvm/libvirt but for Virtualbox and vmware look at Vagrant: vagrantup.com –  johannes Jun 21 '13 at 1:06

Your Answer


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

Browse other questions tagged or ask your own question.