表題の通り。
■ 環境
- Mac OSX (10.10.5)
- Vagrant 1.7.4
■ vagrant up
VagrantでVMを起動中に下記メッセージが出力されているのに気がついた。
$ vagrant up
:
==> A newer version of the box 'centos/7' is available! You currently
==> have version '1508.01'. The latest is version '1509.01'. Run
==> `vagrant box update` to update.
:
$
BOXには”centos/7“を使用していたのだが、新しいversionがリリースされているようである。
ローカルを確認。
$ vagrant box list
:
centos/7 (virtualbox, 1508.01)
:
$
確かに出力されている通りのversionである。
■ vagrant box update
出力されていたメッセージの通りに実行してみる。
$ vagrant box update
==> Checking for updates to 'centos/7'
Latest installed version: 1508.01
Version constraints:
Provider: virtualbox
==> Updating 'centos/7' with provider 'virtualbox' from version
==> '1508.01' to '1509.01'...
==> Loading metadata for box 'https://atlas.hashicorp.com/centos/7'
==> Adding box 'centos/7' (v1509.01) for provider: virtualbox
Downloading: https://atlas.hashicorp.com/centos/boxes/7/versions/1509.01/providers/virtualbox.box
==> Successfully added box 'centos/7' (v1509.01) for 'virtualbox'!
$
`update`できたようである。boxのversionを確認する。
$ vagrant box list
:
centos/7 (virtualbox, 1508.01)
centos/7 (virtualbox, 1509.01)
:
$
version違いで2つのboxを確認できた。
以上。