Wednesday, December 3, 2014

Vagrant packaging

* 1 Install vagrant 1.6.5
# dpkg -i vagrant_1.6.5_x86_64.deb

* init
oyj@oyjmint ~/vt/vag_dev $ vagrant init ubuntu/trusty64
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`` for more information on using Vagrant.

* Up vagrant
oyj@oyjmint ~/vt/vag_dev $ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/trusty64'
    default: URL:
==> default: Adding box 'ubuntu/trusty64' (v14.04) for provider: virtualbox
    default: Downloading:
==> default: Box download is resuming from prior download progress

* Packaging
oyj@oyjmint ~/vt/vag_dev $ vagrant package

* will be created.^^;

When we want to name package
vagrant package --output

No comments:

Post a Comment