This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
packages:vagrant [2013-12-11 20:47] glen [Chef] |
packages:vagrant [2014-11-20 14:22] glen [Chef] |
||
---|---|---|---|
Line 14: | Line 14: | ||
Base box you need to import only once, you can make new VM's without need to import base box again. | Base box you need to import only once, you can make new VM's without need to import base box again. | ||
- | ===== PLD Base box ===== | ||
- | glen is providing regularly built [[/people/glen/vm-info|vagrant base boxes]]: | + | ===== PLD Base boxes ===== |
+ | [[people:glen|glen]] is providing regularly built [[/people/glen/vm-info|vagrant base boxes]]: | ||
+ | |||
+ | <note tip> | ||
''box add'' command is needed only once or if you want to refresh your base box. | ''box add'' command is needed only once or if you want to refresh your base box. | ||
+ | </note> | ||
+ | |||
+ | <note tip> | ||
+ | With Vagrant 1.5+ you can also use [[https://vagrantcloud.com/glen|vagrant cloud urls]]: | ||
+ | |||
+ | <code> | ||
+ | vagrant box add glen/pld32 | ||
+ | vagrant box add glen/pld64 | ||
+ | </code> | ||
+ | </note> | ||
- | 32bit Th longterm kernel: | + | 32bit Th 3.10 kernel: |
<code> | <code> | ||
$ vagrant box add pld32 ftp://ftp.pld-linux.org/people/glen/vm/pld32.box | $ vagrant box add pld32 ftp://ftp.pld-linux.org/people/glen/vm/pld32.box | ||
Line 28: | Line 40: | ||
</code> | </code> | ||
- | 64bit Th longterm kernel: | + | 64bit Th 3.10 kernel: |
<code> | <code> | ||
$ vagrant box add pld64 ftp://ftp.pld-linux.org/people/glen/vm/pld64.box | $ vagrant box add pld64 ftp://ftp.pld-linux.org/people/glen/vm/pld64.box | ||
Line 35: | Line 47: | ||
$ vagrant ssh | $ vagrant ssh | ||
</code> | </code> | ||
+ | |||
+ | Additionally there's Th-2012-snap and Th-2013-snap boxes available: | ||
+ | * ftp://ftp.pld-linux.org/people/glen/vm/th-2012/pld32-th2012.box | ||
+ | * ftp://ftp.pld-linux.org/people/glen/vm/th-2013/pld32-th2013.box | ||
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. | 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. | ||
Line 47: | Line 63: | ||
To install ''chef-solo'' do ''poldek -u chef'', if you want to run chef server inside that box, have look at [[chef-server]]. | To install ''chef-solo'' do ''poldek -u chef'', if you want to run chef server inside that box, have look at [[chef-server]]. | ||
- | If you are using ''chef-client'', it's recommended to install [[https://github.com/cassianoleal/vagrant-butcher|vagrant-butcher]] plugin to automatically delete node when destroying VM. | + | If you are using ''chef-client'', it's recommended to install [[https://github.com/cassianoleal/vagrant-butcher|vagrant-butcher]] plugin to automatically delete node when destroying VM: |
+ | |||
+ | <code> | ||
+ | $ vagrant plugin install vagrant-butcher | ||
+ | </code> | ||
+ | |||
+ | If using older Vagrant (< 1.5), you need older butcher plugin: | ||
+ | <code> | ||
+ | $ vagrant plugin install vagrant-butcher --plugin-version=2.0.0 | ||
+ | </code> | ||
+ | |||
+ | ==== MATE Desktop ==== | ||
+ | |||
+ | I ([[people:glen]]) needed to give someone VM image containing desktop application, as a result there's [[https://gist.github.com/glensc/9948541|PLD Linux with MATE Desktop]] ''Vagrantfile'' which you can use to create same image from scratch. |