]> git.siccegge.de Git - forks/vmdebootstrap.git/commitdiff
Print which distribution is being debootstrapped
authorNeil Williams <codehelp@debian.org>
Tue, 23 Dec 2014 16:19:01 +0000 (16:19 +0000)
committerNeil Williams <codehelp@debian.org>
Tue, 23 Dec 2014 16:19:01 +0000 (16:19 +0000)
Closes: #767806
vmdebootstrap

index d5c1067aa84144f942d20fdc7abf783f0de6a35c..11e518a91836644925765d8ad5b5332f46fcc0bc 100755 (executable)
@@ -299,7 +299,8 @@ class VmDebootstrap(cliapp.Application):
         self.runcmd(['mkfs', '-t', fstype, device])
 
     def debootstrap(self, rootdir):
-        self.message('Debootstrapping')
+        msg = "(%s)" % self.settings['variant'] if self.settings['variant'] else ''
+        self.message('Debootstrapping %s %s' % (self.settings['distribution'], msg))
 
         if self.settings['foreign']:
             necessary_packages = []