Hello

If you are comfortable with command line, you can remove the directory
version of the box you want to remove.

.vagrant.d/boxes/generic-VAGRANTSLASH-openbsd6/1.8.40/


On Fri, May 28, 2021 at 6:23 PM James E Keenan <jkee...@pobox.com> wrote:

> I have a server on which I use Vagrant to install and manage VirtualBox
> VMs for various operating systems.  Over time I have installed 3
> different OpenBSD VMs.  The box for each of these was originally
> obtained from the listings at vagrantup.com.  Each box holds a different
> OpenBSD version.
>
> I believe the following command accurately lists the Vagrant box versions:
>
> ###
> $ ls -l .vagrant.d/boxes/generic-VAGRANTSLASH-openbsd6/
> total 2
> drwxr-xr-x  3 vmuser  vmuser   3 Nov  4  2018 1.8.40
> drwxr-xr-x  3 vmuser  vmuser   3 Oct  7  2019 1.9.34
> drwxr-xr-x  3 vmuser  vmuser   3 Feb  1  2020 2.0.6
> ###
>
> This data correlates with the output of this command:
>
> ###
> $ vagrant box list | grep -i openbsd
> generic/openbsd6                  (virtualbox, 1.8.40)
> generic/openbsd6                  (virtualbox, 1.9.34)
> generic/openbsd6                  (virtualbox, 2.0.6)
> ###
>
> Problem:  I want to make sure that I am using the correct syntax to
> remove *one* of the boxes but not the others.  Suppose that I want to
> remove 1.8.40.  Is the following the correct way to remove that one and
> leave the other two untouched?
>
> ###
> vagrant box remove generic-openbsd6 --provider virtualbox --box-version
> 1.8.40
> ###
>
> Thank you very much.
> Jim Keenan
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/hashicorp/vagrant/issues
> Discuss: https://discuss.hashicorp.com/c/vagrant/24
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/45adf0de-0631-50e3-6c5c-ff7141e45db2%40pobox.com
> .
>


-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/vagrant/issues
Discuss: https://discuss.hashicorp.com/c/vagrant/24
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyQM2EmdLeRF1OT2WLHNrbWZqq%3DmyRZbYbhabFVQEPH-w%40mail.gmail.com.

Reply via email to