Created
January 18, 2018 01:23
-
-
Save johnypony3/47af7069821272b569b57a6408b19361 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
list your VMs to find the VM ID: | |
$ VBoxManage list vms | |
"UCS 4.1" {acef4c0a-35be-4640-a214-be135417f04d} | |
You can now package that VM as a Vagrant box: | |
$ vagrant package --base acef4c0a-35be-4640-a214-be135417f04d --output UCS.box | |
==> acef4c0a-35be-4640-a214-be135417f04d: Exporting VM... | |
==> acef4c0a-35be-4640-a214-be135417f04d: Compressing package to: /home/crohr/dev/ucs/UCS.box | |
And add it to the list of your local Vagrant boxes: | |
$ vagrant box add UCS.box --name UCS | |
Finally, you can create a Vagrantfile to use this box: | |
Vagrant.configure("2") do |config| | |
config.vm.box = "UCS" | |
# ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment