]> git.siccegge.de Git - forks/vmdebootstrap.git/commitdiff
improve error message with a hint to install grub2-common
authorNeil Williams <codehelp@debian.org>
Sat, 18 Oct 2014 08:36:44 +0000 (09:36 +0100)
committerNeil Williams <codehelp@debian.org>
Sat, 18 Oct 2014 08:36:44 +0000 (09:36 +0100)
vmdebootstrap

index eb94ae532936c73eb111f80d67116e7cd2a70504..8301bd5c6452ee333d232c412bf42e4efadebc91 100755 (executable)
@@ -483,7 +483,7 @@ class VmDebootstrap(cliapp.Application):
             self.runcmd(['chroot', rootdir, 'update-grub'])
             self.runcmd(['chroot', rootdir, 'grub-install', install_dev])
         except cliapp.AppException as e:
-            self.message("Failed to configure grub2. Using extlinux.")
+            self.message("Failed. Is grub2-common installed? Using extlinux.")
         self.runcmd(['umount', os.path.join(rootdir, 'sys')])
         self.runcmd(['umount', os.path.join(rootdir, 'proc')])
         self.runcmd(['umount', os.path.join(rootdir, 'dev')])