From f442ac6ad911bfb9a346d1246364aa708f9f7245 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sat, 7 Dec 2019 19:41:53 -0500 Subject: [PATCH] Force grub-install in partition --- client-provisioner/examples/debootstrap_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-provisioner/examples/debootstrap_script.py b/client-provisioner/examples/debootstrap_script.py index 829e2fb1..5d3c76d1 100644 --- a/client-provisioner/examples/debootstrap_script.py +++ b/client-provisioner/examples/debootstrap_script.py @@ -144,7 +144,7 @@ GRUB_DISABLE_LINUX_UUID=false fake_root = os.open("/", os.O_RDONLY) os.fchdir(fake_root) os.system( - "grub-install /dev/rbd/{}/{}_{}".format(root_disk['pool'], vm_name, root_disk['disk_id']) + "grub-install --force /dev/rbd/{}/{}_{}".format(root_disk['pool'], vm_name, root_disk['disk_id']) ) os.system( "update-grub"