LoginSignup
7
5

More than 5 years have passed since last update.

Vagrantfileに対して行った設定を反映させる

Last updated at Posted at 2016-05-02

概要

Vagrantfileの内容を書き換えたあと、その内容を反映させるにはどうしたらよいか。

結論

マシンが再起動される

Vagrantfileのある位置であれば

vagrant reload

そのほか

vmの名前を指定する場合には

vagrant reload [vm-name]

とのこと。

$vagrant help reload
Usage: vagrant reload [vm-name]

        --[no-]provision             Enable or disable provisioning
        --provision-with x,y,z       Enable only certain provisioners, by type or by name.
    -h, --help                       Print this help
7
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
5