A Vagrantfile for quickly firing up a tripleo undercloud with latest repos.
You'll need vagrant with the vagrant-libvirt plugin. At the moment, this only works with Linux. I'm working on the update for making it work with virtualbox.
You might want to take a look at the Vagrant file before you begin to make sure you want the specified network and things like fpaste (you may not!). After that, just run:
vagrant up
You can run the vagrant ssh-config to get the relevant ssh-config info:
vagrant ssh-config >> ~/.ssh/config
Edit the ~/.ssh/config to be the name 'undercloud'. Once you've finished that, you can use sshuttle (which you can find here) and run something along the lines of:
sshuttle -vr undercloud 0/0
You can then access the IP above in ~/.ssh/config as the starting point for the UI, or tie into it via a fork of TripleO-UI
Finally, you can do the following and have an undercloud:
openstack undercloud install
The ssh-config is just an example. It's easier to just generate it.
- Fork it ( https://github.com/[my-github-username]/tripleo-undercloud-vagrant/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request