Skip to content

Instantly share code, notes, and snippets.

@praveenkumar
Created November 13, 2015 11:48
Show Gist options
  • Save praveenkumar/df1f0530d1e2c1523ab9 to your computer and use it in GitHub Desktop.
Save praveenkumar/df1f0530d1e2c1523ab9 to your computer and use it in GitHub Desktop.
# Using downloaded Vagrant
vagrant box add cdk2 file:///home/prkumar/work/cdk2/rhel-7.2-server-kubernetes-vagrant-scratch-1-1.x86_64.vagrant-libvirt.box
# Initialize a box (This will create a vagrantfile in current working directory)
vagrant init cdk2
# Start a box
vagrant up
# ssh to the box
vagrant ssh
# Provision a box
vagrant provision
# List down all available boxes
vagrant box list
# Remove a box
vagrant box remove <box_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment