[PLDWWW] page added: packages:vagrant

"Elan Ruusamäe (glen)" glen at pld-linux.org
Tue Jun 18 14:15:28 CEST 2013


created

--- ---
+++ https://www.pld-linux.org/packages/vagrant
====== Vagrant ======

[[http://www.vagrantup.com/|Vagrant]] is open-source software for creating and configuring virtual development environments. It can be considered a wrapper around [[wp>VirtualBox]] and configuration management software such as Chef, Salt and Puppet. Although written in Ruby, it is usable in other programming projects such as PHP, Python, Java, and C#.

Quick workflow is such:
  - you register base box with ''vagrant box add''
  - you create ''Vagrantfile'' with ''vagrant init BASEBOXNAME''
  - you bring up VM defined in ''Vagrantfile'' with ''vagrant up''
  - you log in to VM with ''vagrant ssh''

The commands are run in dir where is ''Vagrantfile''.

Base box you need to import only once, you can make new VM's without need to improt base box again.


===== PLD Base box =====

''box add'' command is needed only once or if you want to refresh your base box.

32bit Th longterm kernel:
<code>
$ vagrant box add pld32 ftp://ftp.pld-linux.org/people/glen/vm/pld32.box
$ vagrant init pld32
$ vagrant up
$ vagrant ssh
</code>

64bit Th longterm kernel:
<code>
$ vagrant box add pld64 ftp://ftp.pld-linux.org/people/glen/vm/pld64.box
$ vagrant init pld64
$ vagrant up
$ vagrant ssh
</code>

the ''.box'' is actually [[https://github.com/mitchellh/vagrant/issues/1741|importable by plain VirtualBox]] as well if you rename the file as ''.ova'', on [[ftp://ftp.pld-linux.org/people/glen/vm/|ftp]] there are symlinks for .ova files made for convenience.


Diff URL:
  ---
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list