Removal and addition of vagrant boxes for CentOS 8

As you may have heard, regular CentOS Linux 8 is EOL. Even the repos are down from their original URLs, breaking yum/dnf.

CentOS Stream 8 is the replacement.

We’ve responded to this on pulp_installer with the following changes for vagrant development boxes:

Removed:
centos8
centos8-fips
pulp3-sandbox-centos8
pulp3-sandbox-centos8-fips
pulp3-source-centos8
pulp3-source-centos8-fips

Added:
centos8-stream-fips
pulp3-sandbox-centos8-stream-fips
pulp3-source-centos8-stream-fips

Already Existing, but box is now 1 year newer:
centos8-stream
pulp3-sandbox-centos8-stream
pulp3-source-centos8-stream

Here is how you need to accommodate this change:

(This will avoid vagrant being in an unstable state.)

  1. check to see if you have any Removed vagrant boxes before running git pull
    $ vagrant status
  2. Delete any Removed vagrant boxes that are in a state other than “not created”. Example:
    $ vagrant destroy --force pulp3-source-centos8
  3. Update the git repo (master branch was renamed to main):
    $ git fetch
    $ git checkout main
    $ git pull --rebase
    $ git submodule update --init
  4. You can now create your desired boxes like usual. Example:
    $ vagrant up pulp3-source-centos8-stream
2 Likes