I really don't feel like fixing this correctly in vmbuilder at the moment. Doing so I think would be to either: a.) add a '--no-local-host-entry' like field b.) allow '--host' to be 'null' or 'unset' special case. On that, the 127.0.1.1 entry would not be written.
Neither of those are trivial. The reason for this is that the values populated into /etc/hosts come from the '--hostname' and '--domain' arguments. --hostname (vm.hostname) is used: $ grep vm.hostname -r * -l VMBuilder/plugins/libvirt/__init__.py VMBuilder/plugins/ubuntu/dapper.py VMBuilder/plugins/virtualbox/vm.py VMBuilder/plugins/vmware/vm.py So, I'm planning on removing the 127.0.1.1 entry in a '--execscript' script that will be pasted from build-ec2-image ** Changed in: vm-builder (Ubuntu Karmic) Status: Triaged => In Progress -- ec2-images have ubuntu.canonical.com in /etc/hosts https://bugs.launchpad.net/bugs/440757 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs