Skip to content

Instantly share code, notes, and snippets.

@shin1x1
Last active August 29, 2015 14:08
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 shin1x1/b38dddfeca257badbcd3 to your computer and use it in GitHub Desktop.
Save shin1x1/b38dddfeca257badbcd3 to your computer and use it in GitHub Desktop.
プロビジョン済 Box の利用方法

仮想マシンを起動中なら、破棄しておく

$ cd /path/to/phpci_handson
$ vagrant destroy -f

backup ディレクトリを USB メモリからコピー

$ cp -a /path/to/backup /path/to/phpci_handson1

プロビジョン済の Box を追加

$ cd /path/to/phpci_handson1
$ ls
Vagrantfile               application               phpci_handson_ci.box      phpci_handson_deploy.box  phpci_handson_develop.box
$ vagrant box add phpci_handson_ci phpci_handson_ci.box
$ vagrant box add phpci_handson_deploy phpci_handson_deploy.box
$ vagrant box add phpci_handson_develop phpci_handson_develop.box

vagrant up

$ vagrant up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment