[Bug 436835] Re: [PATCH] fix failure: TypeError: not enough arguments for format string
Arnaud
arnaud.oss at gmail.com
Fri Sep 25 20:31:50 BST 2009
seems to fix the problem:
--- /usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py 2009-09-25 21:30:25.799147579 +0200
+++ /usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py 2009-09-25 21:12:56.771204685 +0200
@@ -144,7 +144,7 @@
os.mkdir('%s/home/%s/.ssh' % (self.destdir, self.vm.user), 0700)
shutil.copy(self.vm.ssh_user_key, '%s/home/%s/.ssh/authorized_keys' % (self.destdir, self.vm.user))
os.chmod('%s/home/%s/.ssh/authorized_keys' % (self.destdir, self.vm.user), 0644)
- self.run_in_target('chown', '-R', '%s:%s' % (self.vm.user,)*2, '/home/%s/.ssh/' % (self.vm.user))
+ self.run_in_target('chown', '-R', '%s:%s' % ((self.vm.user,)*2), '/home/%s/.ssh/' % (self.vm.user))
if self.vm.ssh_user_key or self.vm.ssh_key:
if not self.vm.addpkg:
--
[PATCH] fix failure: TypeError: not enough arguments for format string
https://bugs.launchpad.net/bugs/436835
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