ubuntu-vm-builder kvm doesn't set nameserver in resolv.conf

Bug #919069 reported by Christoph Dwertmann
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm setting up a VM in oneiric like this:

ubuntu-vm-builder kvm oneiric \
 --arch i386 \
 --hostname vm1 \
 --mem 512 \
 --rootsize 20000 \
 --ip 10.0.0.1 \
 --mask 255.0.0.0 \
 --net 10.0.0.0 \
 --bcast 10.255.255.255 \
 --gw 10.0.0.200 \
 --dns 10.0.0.200 \
 --bridge br0 \
 --mirror http://10.0.0.200:9999/ubuntu \
 --variant minbase \
 --addpkg openssh-server \
 --addpkg sudo \
 --addpkg vim \
 --addpkg inetutils-ping \
 --addpkg gpgv \
 --addpkg host \
 --addpkg subversion \
 --addpkg mc \
 --addpkg wget \
 --addpkg bzip2 \
 --addpkg devscripts \
 --addpkg build-essential \
 --addpkg git \
 --addpkg automake \
 --addpkg colordiff \
 --addpkg net-tools \
 --libvirt qemu:///system

After entering the newly created VM, my /etc/resolv.conf is missing the nameserver. This was working in previous Ubuntu releases.

--
root@vm2:/home/ubuntu# cat /etc/resolv.conf
# Generated by NetworkManager
search x.y.z
--

Description: Ubuntu 11.10
Release: 11.10

ubuntu-vm-builder:
  Installed: 0.12.4+bzr469-0ubuntu1
  Candidate: 0.12.4+bzr469-0ubuntu1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-vm-builder (Ubuntu):
status: New → Confirmed
Mathew Hodson (mhodson)
affects: ubuntu-vm-builder (Ubuntu) → vm-builder (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.