Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1- create an box on vagrant cloud

2- use the box


List all the vm of virtualbox: vboxmanage

convert the virtualbox Machine into an ( create all the interface and paramter ):   vboxmanage vagrant  vagrant package


Code Block
titlevboxmanage list vms
collapsetrue
PS C:\Users\jkriker\VirtualBox VMs\Juniper\vMX1_12.1R1.9> vboxmanage.exe list vms
"vMX1_12.1R1.9" {7ed567b0-127b-4883-b689-fa6348762bd6}
"vMX2_12.1R1.9" {468caca0-e072-4160-9955-a82ee931d66b}
"SRX1 12.1X47-D20.7" {2cee6e68-0b5a-4bf9-b677-ca32909d4019}
"SRX2 12.1X47-D20.7" {8a4f76f9-c9a9-40a3-a530-1d7ded1c06f7}
"grml1_Untrusted" {a43a84b6-d529-4b3a-902b-30523cd63f4c}
"kube Master Centos7" {bf4e2c0e-0d65-444e-a29c-a241a0d3745a}

...

Code Block
titlevagrant package --base <real vm name> --output <name>.box
collapsetrue
PS C:\Users\jkriker\VirtualBox VMs\Juniper\vMX2_12.1R1.9> vagrant package --base vMX2_12.1R1.9 --output vmxtest2.box
==> vMX2_12.1R1.9: Exporting VM...
==> vMX2_12.1R1.9: Compressing package to: C:/Users/jkriker/VirtualBox VMs/Juniper/vMX2_12.1R1.9/vmxtest2.box


https://app.vagrantup.com/jlk0013/boxes/vMX_12.1R1.9