mcandre / packer-templates

Configurations for generating Vagrant base boxes
66 stars 14 forks source link

Upgrade OS when extending VM's #394

Closed mcandre closed 3 years ago

mcandre commented 3 years ago
DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade \
        -q \
        -y \
        -u \
        -o Dpkg::Options::="--force-confdef"
mcandre commented 3 years ago

wontfix

We already tried this. For so many platforms, this kind of upgrade has historically been breaking. In particular, Debian grub-pc integrates poorly with Vagrant, causing the upgrade process to fail.

Any downstream boxes desiring to upgrade, should be built every so often on top of an already up-to-date, stable OS box.