# vagrant init without the box name used the default box 'base' # in the produced Vagrantfile. # # ##PROVIDER ?= libvirt PROVIDER ?= virtualbox all: @echo choose one of the targets: @echo " init up provision halt destory clean" init: #vagrant init antlabs/sg5-centos8-base vagrant init generic/rocky8 ##vagrant init up: ##vagrant up vagrant up --provider=$(PROVIDER) provision: up vagrant provision package: rm -rf package.box vagrant package --vagrantfile Vagrantfile halt: vagrant halt destroy: halt vagrant destroy -f clean: destroy rm -rf .vagrant package.box