Hold back grub to avoid issue during apt dist-upgrade
This commit is contained in:
parent
98ebb90879
commit
01b2316d13
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue