Comment 5 for bug 705395

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

I don't believe this bug is valid. I tested it by exploiting the fact that '$domain' is used in /etc/vmbuilder/ubuntu/etc_hosts.tmpl. So, I ran:

vmbuilder kvm ubuntu --suite=lucid --mirror=http://localhost:3142/us.archive.ubuntu.com/ubuntu/ --config=my.cfg

where my.cfg contained:

============================
[ubuntu]

domain = fakehallyn.com
hostname = myvm
=============================

The /etc/hosts on the resulting machine contained my entries.

In your example .cfg file, you have 'domain' under

[kvm/ubuntu]. Since you didn't show me your templates I can't be sure, but I suspect you needed to use [kvm] or [ubuntu].

I'm marking this Invalid. If you feel I'm wrong about that, please re-mark it 'New' and upload all your templates in a tarfile (so that I can also see their hierarchy).