infinite-omicron / pentesting-vm

Penetration Testing Virtual Machine
GNU General Public License v3.0
2 stars 2 forks source link

Document clearing vagrant cache for packer #29

Closed outzhu closed 1 year ago

outzhu commented 1 year ago

Should we document a recommendation that if the Vagrant box isn't updating from the Packer build, to delete packer_alpine in .vagrant.d/boxes?

oxr463 commented 1 year ago

Yes, what is the absolute path to that directory?

outzhu commented 1 year ago

/home/$USER/.vagrant.d/boxes

oxr463 commented 1 year ago

/home/$USER/.vagrant.d/boxes

So they just need to run rm -rf ~/.vagrant.d/boxes?

outzhu commented 1 year ago

Probably? I don't know if Vagrant will recreate boxes.

Safer to do rm -rf ~/.vagrant.d/boxes/packer_alpine.

oxr463 commented 1 year ago
## FAQ

Instructions here
oxr463 commented 1 year ago
packer build --force -only=pentesting-vagrant.vagrant.alpine .