Installation of virtualbox and packer must be done before running the vm creation script
cd infra
packer build -force ubuntu.pkr.hcl
The configuration is not usable at the moment due to an error related to cloud init. While building the VM packer fails when using ubuntu cloud init.