From b6d716d414f754eefe7326204c1ffbcaa9ab20b6 Mon Sep 17 00:00:00 2001 From: Olivier Sallou Date: Tue, 13 Aug 2013 10:44:18 +0200 Subject: [PATCH] set full path for binaries --- providers/virtualbox/tasks/boot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/virtualbox/tasks/boot.py b/providers/virtualbox/tasks/boot.py index e8abc78..02943b6 100644 --- a/providers/virtualbox/tasks/boot.py +++ b/providers/virtualbox/tasks/boot.py @@ -30,6 +30,6 @@ class ConfigureGrub(Task): os.chmod(script_dst, rwxr_xr_x) log_check_call(['/usr/sbin/chroot', info.root, 'update-initramfs', '-u']) # Install grub in mbr - log_check_call(['grub-install', '--boot-directory='+info.root+"/boot/", info.bootstrap_device['path']]) + log_check_call(['/usr/sbin/grub-install', '--boot-directory='+info.root+"/boot/", info.bootstrap_device['path']]) log_check_call(['/usr/sbin/chroot', info.root, '/usr/sbin/update-grub'])