From air
Jump to navigation Jump to search

Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow to help maximize the productivity and flexibility of you and your team.

To achieve its magic, Vagrant stands on the shoulders of giants. Machines are provisioned on top of VirtualBox, VMware, AWS, or any other provider. Then, industry-standard provisioning tools such as shell scripts, Chef, or Puppet, can be used to automatically install and configure software on the machine.


Suivre l'installation

Premiers pas

Command Lines

vagrant --help

CoreOS avec Vagrant

Installer Vagrant

Premiers pas

git clone
cd coreos-vagrant

Modifier les fichiers user_data et config.rb en suivant

# Lancement du cluster
vagrant up

vagrant list

vagrant ssh-config core-01

vagrant ssh core-01

Une fois loggé


fleetctl list-machines

fleetctl list-units 

fleetctl list-unit-files

ping IPPUB-DE-core-02

Depuis n'importe quel répertoire

vagrant global-status

vagrant ssh 1a2b3c4d

Depuis coreos-vagrant/

vagrant halt core-02

vagrant status

vagrant global-status

vagrant up core-02
# Arret du cluster
vagrant halt

vagrant status

Voir fleet et etcd.


eval `ssh-agent -s`
ssh-add -l
ssh-add ~/.vagrant.d/insecure_private_key
vagrant ssh core-01 -- -A

La suite : TODO


vagrant plugin install vagrant-aws

vagrant up --provider=aws

La suite dans