Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

 
discard

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

Browse other questions tagged or ask your own question.