#!/usr/bin/python3 """ Configure GRUB2 bootloader and set boot options Configure the system to use GRUB2 as the bootloader, and set boot options. Sets the GRUB2 boot/root filesystem to `rootfs`. If a separated boot partition is used it can be specified via `bootfs`. The file-systems can be identified either via uuid (`{"uuid": ""}`) or label (`{"label": "