Skip to content

unix-thrust/unix-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unix-Thrust Vagrant boxes

Unix-Thrust Vagrant boxes for automatic testing

Requirements

Quick start

# Clone unix-vagrant
# All the available projects are provisionned with ansible
git clone https://github.com/unix-thrust/unix-vagrant.git

Available VMs:

  • debian7 (wheezy)
  • debian8 (jessie)
  • ubuntu (server edition trusty64)
  • fedora21 (server edition)
  • centos (v7.0)
  • freebsd (v10) (the complete list of available VMs can be found in the Vagrantfile)

Launch VM

# Launch all VMs:
vagant up

# Launch a specific VMs:
vagrant up [name]

# Exemple:
vagrant up debian7

Connect on a VM with ssh

vagrant ssh debian7

Available projects are stored as submodules in the ~/project shared VM directory

Provisioning a VM with ansible

# NOTE: the VM is automatically provisionned on the first 'vagrant up'
vagrant provision debian7

Halt VM

# Halt all VM:
vagant halt

# Halt a specific VM:
vagrant halt debian7

Enjoy :)

Debug with ansible

Vagrant auto-generate a inventory file in .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory We can use this file for debug purpose with ansible:

# Get information discovered from the VM:
ansible debian7 -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -m setup -k --user vagrant

About

Unix-Thrust Vagrant box for automatic testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published