Hold back grub to avoid issue during apt dist-upgrade
This commit is contained in:
parent
98ebb90879
commit
01b2316d13
|
@ -28,7 +28,7 @@ The script expects `authorized_keys` to be in the current directory. Copy the co
|
||||||
### Run the Script
|
### Run the Script
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
./build-proxmox-template
|
sudo ./build-proxmox-template
|
||||||
```
|
```
|
||||||
|
|
||||||
## Cloning the Template
|
## Cloning the Template
|
||||||
|
|
|
@ -15,6 +15,7 @@ set -e
|
||||||
|
|
||||||
virt-builder ${OS} -o ${NAME}.qcow2 --format qcow2 \
|
virt-builder ${OS} -o ${NAME}.qcow2 --format qcow2 \
|
||||||
--root-password disabled \
|
--root-password disabled \
|
||||||
|
--run-command 'echo grub-pc hold | dpkg --set-selections' \
|
||||||
--update \
|
--update \
|
||||||
--run-command 'apt dist-upgrade -y' \
|
--run-command 'apt dist-upgrade -y' \
|
||||||
--install cloud-init,qemu-guest-agent \
|
--install cloud-init,qemu-guest-agent \
|
||||||
|
|
Loading…
Reference in a new issue