VAGRANT RELOAD
Commande : vagrant 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
Redémarrer la machine Vagrant en chargeant les modifications du fichier Vagrantfile
vagrant reload [vm-name]
La machine virtuelle sera redémarrée mais pas reprovisionnée.
Les modifications du ficher Vagrantfile seront rechargées pour être prises en compte.
Equivaut à :
vagrant halt
puis vagrant up
vagrant reload --provision [vm-name]
La machine virtuelle sera redémarrée et reprovisionnée à partir du fichier Vagrantfile.
Les modifications du ficher Vagrantfile seront rechargées pour être prises en compte.
Equivaut à :
vagrant halt
puis vagrant up --provision
ex :
$ vagrant ssh Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) * Documentation: https://help.ubuntu.com/ New release '14.04.5 LTS' available. Run 'do-release-upgrade' to upgrade to it. Welcome to your Vagrant-built virtual machine. Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2 vagrant@precise64:~$