Now that CentOS 8 has been out for a few weeks I decided it was time to dip my toe in the water and update the CentOS 7 Packer scripts I had to work with CentOS 8.

For those that don’t know, Packer by Hashicorp, is a tool which allows you to build your own images from a number of sources and use them on a number of platforms — Hashicorp describe Packer as;

I took my CentOS 7 Packer configuration and tweaked it as the build process wasn’t different, the repo containing the CentOS 8 configuration can be found at

Running the build went as expected, building using VMWare with the following command;

$ packer build -only vmware-iso CentOS_8.json

Gave the following;

For VirtualBox I ran;

$ packer build -only virtualbox-iso CentOS_8.json

and got;

Once I have the two Vagrant boxes the Packer configuration produced I uploaded the them to Vagrant Cloud, you can find them both at Once uploaded I used Vagrant to launch my first CentOS 8 server;

$ mkdir ~/centos8 $ cd ~/centos8 $ vagrant init russmckendrick/centos8 $ vagrant up

Once launched, I used vagrant ssh to login and check the release file;

As you can see, I was prompted to to activate the web console, to do this I ran the following commands within the Vagrant box;

$ sudo systemctl enable --now cockpit.socket $ sudo systemctl start cockpit

Then found out the IP address of the Vagrant box by running;

$ vagrant ssh -c "ip address show | grep 'inet ' | grep -v '' | sed -e 's/^.*inet //' -e 's/\/.*$//'" 2> /dev/null

For me, this returned, I then went to the following URL and was greeted by a login page;

Using the username and password of “ vagrant” I logged in and got;

As you can see, these are the basic stats, there are also updates available, most of which appear to be bug fixes;

Also, Cockpit comes with its own built in Terminal;

Finally, to remove the Vagrant box I ran;

$ vagrant destroy

This stopped and removed the box and concluded my very brief play with CentOS 8. Expect more posts soon(ish).

Geek, Lover Of Shiny Things and Grump.