From 04b879a53c67275903ea15594aa0e45c78ef4b4e Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Sun, 11 Aug 2013 18:17:06 +0200 Subject: [PATCH] Install grub to loop0 not loop0p1 --- 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 97e9367..928e999 100644 --- a/providers/virtualbox/tasks/boot.py +++ b/providers/virtualbox/tasks/boot.py @@ -35,6 +35,6 @@ class ConfigureGrub(Task): log_check_call(['/usr/sbin/chroot', info.root, 'update-initramfs', '-u']) log_check_call(['grub-install', '--boot-directory='+info.root+"/boot/", - info.bootstrap_device['partitions']['root_path']]) + info.bootstrap_device['path']]) log_check_call(['/usr/sbin/chroot', info.root, '/usr/sbin/update-grub'])