summaryrefslogtreecommitdiff
path: root/vmdebootstrap
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2014-10-18 09:36:44 +0100
committerNeil Williams <codehelp@debian.org>2014-10-18 09:36:44 +0100
commit41f88537a1fd6363a0b2da9796a176f5a727e279 (patch)
treef683ab3d942d65329f537bc5ae55b2af07ce2868 /vmdebootstrap
parent676ec54a7a65e93da26b54453e6a793e1cd2fcf3 (diff)
downloadvmdebootstrap-41f88537a1fd6363a0b2da9796a176f5a727e279.tar.gz
improve error message with a hint to install grub2-common
Diffstat (limited to 'vmdebootstrap')
-rwxr-xr-xvmdebootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdebootstrap b/vmdebootstrap
index eb94ae5..8301bd5 100755
--- a/vmdebootstrap
+++ b/vmdebootstrap
@@ -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')])