diff --git a/README.md b/README.md index eb61f7d..fc66d56 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ The script expects `authorized_keys` to be in the current directory. Copy the co ### Run the Script ```shell -./build-proxmox-template +sudo ./build-proxmox-template ``` ## Cloning the Template diff --git a/build-proxmox-template b/build-proxmox-template index 8d76f61..f20b39f 100755 --- a/build-proxmox-template +++ b/build-proxmox-template @@ -15,6 +15,7 @@ set -e virt-builder ${OS} -o ${NAME}.qcow2 --format qcow2 \ --root-password disabled \ + --run-command 'echo grub-pc hold | dpkg --set-selections' \ --update \ --run-command 'apt dist-upgrade -y' \ --install cloud-init,qemu-guest-agent \