Skip to content

Instantly share code, notes, and snippets.

@mihaikelemen
Last active February 15, 2024 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mihaikelemen/3a683ec3d3b492098659bb184d591aff to your computer and use it in GitHub Desktop.
Save mihaikelemen/3a683ec3d3b492098659bb184d591aff to your computer and use it in GitHub Desktop.
Clone exiting Vagrant box (with VirtualBox) on Ubuntu
`VBoxManage list vms` #lists all vm present on the current machine
`vagrant package --base ubuntu_1804_php56_default_1606497717410_71168 --output ~/vagrantbox.box` # save box
`vagrant init ubuntu_1804_php56_default_1606497717410_71168 ~/vagrantbox.box` #import box
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment