Set lxc as the default provider on dev boxes
This commit is contained in:
parent
ee498a2e29
commit
3be5fb0abd
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@ exec {
|
||||||
'echo "alias be=\"bundle exec\"" >> /home/vagrant/.bashrc':
|
'echo "alias be=\"bundle exec\"" >> /home/vagrant/.bashrc':
|
||||||
unless => 'grep -q "bundle exec" /home/vagrant/.bashrc';
|
unless => 'grep -q "bundle exec" /home/vagrant/.bashrc';
|
||||||
|
|
||||||
|
'echo "export VAGRANT_DEFAULT_PROVIDER=lxc" >> /home/vagrant/.bashrc':
|
||||||
|
unless => 'grep -q "VAGRANT_DEFAULT_PROVIDER" /home/vagrant/.bashrc';
|
||||||
|
|
||||||
'echo "cd /vagrant" >> /home/vagrant/.bashrc':
|
'echo "cd /vagrant" >> /home/vagrant/.bashrc':
|
||||||
unless => 'grep -q "cd /vagrant" /home/vagrant/.bashrc';
|
unless => 'grep -q "cd /vagrant" /home/vagrant/.bashrc';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue