/vagrant-coreos-libvirt

Scripts to create vagrant-libvirt image base on stable coreos image

Primary LanguageRubyMIT LicenseMIT

vagrant-coreos-libvirt

Small Ansible playbook that automate build of vagrant coreos image with libvit provider support.

Why

Just for fun ;) I would like to have a stable coreos vagrant image with libvirt, that could be use with kubespray to setup home k8s cluster.

My images you can find here: vagrant-cloud. Yes, there are only images with libvirt provider.

Why you upload private key to the repo?

vagrant.pem is a public accessible key provided by the hashicorp. You can use your own key. More here

Image customization

  • add vgrant user with sudo password-less rule
  • import pub key to allow login without password

How to run

Variable defaults. Custom values could be specified in the group_vars all .

 ansible-playbook main.yml  -K -vvv --extra-vars " vagrant_cloud_user=PUT_YOUR_LOGIN, vagrant_cloud_token=PUT_YOUR_KEY"

To Do

  • Add bootstrap steps to verify if all required component are installed in system.
  • Add travis or jenkins file to automate build steps with new version of coreos (to support auto build process)