Skip to content

Instantly share code, notes, and snippets.

@dasgoll
Last active March 13, 2024 12:59
Show Gist options
  • Save dasgoll/ea33ea925ef3effc09c5 to your computer and use it in GitHub Desktop.
Save dasgoll/ea33ea925ef3effc09c5 to your computer and use it in GitHub Desktop.
[root@goll tmp]# vagrant box add centos65golll package.box
==> box: Adding box 'centos65golll' (v0) for provider:
box: Downloading: file:///root/tmp/package.box
==> box: Successfully added box 'centos65golll' (v0) for 'virtualbox'!
[root@goll tmp]# vagrant box list
centos65 (virtualbox, 0)
centos65golll (virtualbox, 0)
mv /root/.vagrant.d/boxes/centos65golll /root/.vagrant.d/boxes/centos65goll
[root@goll boxes]# vagrant box list
centos65 (virtualbox, 0)
centos65goll (virtualbox, 0)
$ vagrant box repackage mis-spelled-name
[vagrant] Compressing package to: /Users/johndoe/package.box
$ vagrant box add correct-name /Users/johndoe/package.box
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment