Monday, November 5, 2018

To manage boxes in cloud and local

Box is referred as template OS to create a VM.
you can use the command line to list all boxes.

vagrant box list

To export box to another computer.
vagrant box repackage


We can provide the box path in vagrantfile so that no need to provide it during vagrant init.

config.vm.box = "ubuntu/trusty64"
config.vm.hostname="hobot-dev"


No comments:

Post a Comment