[Bug 527253] [NEW] VMBuilder.exception.VMBuilderException: Unknown config key: domain
Loïc Minier
lool at dooz.org
Wed Feb 24 18:29:04 GMT 2010
Public bug reported:
Hi
Ok, this time I'll be sharing my full vm creation line here ;-)
sudo vmbuilder kvm ubuntu --suite lucid -d test -m 1024 --rootsize=4096
--addpkg=zsh --addpkg=vim --addpkg=openssh-server -a amd64
--hostname=grub2 --mirror http://mirror.dooz.org/ubuntu
--lang=en_US.UTF-8 --timezone=Europe/Paris --user=lool --name 'Loïc
Minier' --pass "lool" --lock-user --ssh-key=`echo
~/.ssh/authorized_keys` --ssh-user-key=`echo ~/.ssh/authorized_keys`
This proceeds nicely until:
2010-02-24 19:03:30,812 DEBUG : ['chroot', '/tmp/tmpsomiEg', 'adduser', 'lool', 'powerdev']
2010-02-24 19:03:30,882 DEBUG : adduser: The group `powerdev' does not exist.
2010-02-24 19:03:30,884 DEBUG : ['chroot', '/tmp/tmpsomiEg', 'adduser', 'lool', 'lpadmin']
2010-02-24 19:03:30,954 DEBUG : adduser: The group `lpadmin' does not exist.
2010-02-24 19:03:30,956 DEBUG : ['chroot', '/tmp/tmpsomiEg', 'adduser', 'lool', 'scanner']
2010-02-24 19:03:31,026 DEBUG : adduser: The group `scanner' does not exist.
2010-02-24 19:03:31,029 DEBUG : ['chroot', '/tmp/tmpsomiEg', 'chpasswd']
2010-02-24 19:03:31,029 DEBUG : stdin was set and it was a string: lool:lool
2010-02-24 19:03:31,059 DEBUG : ['chroot', '/tmp/tmpsomiEg', 'usermod', '-L', 'root']
Traceback (most recent call last):
File "/usr/bin/vmbuilder", line 24, in <module>
cli.main()
File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 82, in main
distro.build_chroot()
File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 77, in build_chroot
self.call_hooks('configure_os')
File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 60, in call_hooks
call_hooks(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 169, in call_hooks
getattr(context, func, log_no_such_method)(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 160, in configure_os
self.suite.config_host_and_domainname()
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 167, in config_host_and_domainname
domain = self.context.get_setting('domain')
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/__init__.py", line 248, in get_setting
raise VMBuilderException('Unknown config key: %s' % name)
VMBuilder.exception.VMBuilderException: Unknown config key: domain
Thanks
ProblemType: Bug
Architecture: amd64
Date: Wed Feb 24 19:27:11 2010
DistroRelease: Ubuntu 10.04
Package: python-vm-builder 0.12.0-0ubuntu1
PackageArchitecture: all
ProcEnviron:
LANGUAGE=fr_FR.UTF-8
PATH=(custom, user)
LANG=fr_FR.UTF-8
SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: vm-builder
Uname: Linux 2.6.32-14-generic x86_64
** Affects: vm-builder (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug lucid
--
VMBuilder.exception.VMBuilderException: Unknown config key: domain
https://bugs.launchpad.net/bugs/527253
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
More information about the Ubuntu-server-bugs
mailing list