packages:vagrant
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packages:vagrant [2013-08-07 23:45] – add grow disk sample glen | packages:vagrant [2016-05-11 12:43] (current) – [PLD Base boxes] more compact glen | ||
---|---|---|---|
Line 4: | Line 4: | ||
Quick workflow is such: | Quick workflow is such: | ||
- | - you register base box with '' | + | - install [[package> |
- | - you create '' | + | - add your user to '' |
- | - you bring up VM defined in '' | + | - register base box with '' |
- | - you log in to VM with '' | + | - create '' |
+ | - bring up VM defined in '' | ||
+ | - log in to VM with '' | ||
The commands are run in dir where is '' | The commands are run in dir where is '' | ||
Line 13: | Line 15: | ||
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. | ||
- | To start using vagrant you need to install [[package> | + | ===== PLD Base boxes ===== |
- | ===== PLD Base box ===== | + | [[people:glen|glen]] |
- | + | ||
- | glen is providing regularly built [[/ | + | |
+ | <note tip> | ||
'' | '' | ||
+ | </ | ||
- | 32bit Th longterm kernel: | + | With Vagrant 1.5+ you can also use [[https://vagrantcloud.com/glen|vagrant |
- | < | + | |
- | $ vagrant box add pld32 ftp://ftp.pld-linux.org/ | + | |
- | $ vagrant | + | |
- | $ vagrant up | + | |
- | $ vagrant ssh | + | |
- | </ | + | |
- | 64bit Th longterm kernel: | + | * vagrant box add [[https:// |
- | < | + | |
- | $ vagrant box add pld64 ftp://ftp.pld-linux.org/ | + | |
- | $ vagrant init pld64 | + | |
- | $ vagrant | + | |
- | $ vagrant | + | |
- | </code> | + | |
the '' | the '' | ||
- | |||
- | ===== Grow a disk ===== | ||
- | |||
- | The VM contains 80GiB disk in LVM PV, default LVM allocation is rather minimal to get base packages installed and may be small when you actually copy files there. | ||
- | |||
- | To increase rootfs by 2GiB: | ||
- | <code bash> | ||
- | poldek -u xfsprogs | ||
- | lvextend --size=+2G / | ||
- | xfs_growfs / | ||
- | </ | ||
===== What next? ===== | ===== What next? ===== | ||
After box is up, you probably want to provision it or install packages with '' | After box is up, you probably want to provision it or install packages with '' | ||
+ | Also quite common is to [[people/ | ||
==== Chef ==== | ==== Chef ==== | ||
To install '' | To install '' | ||
+ | |||
+ | If you are using '' | ||
+ | |||
+ | < | ||
+ | $ vagrant plugin install vagrant-butcher | ||
+ | </ | ||
+ | |||
+ | If using older Vagrant (< 1.5), you need older butcher plugin: | ||
+ | < | ||
+ | $ vagrant plugin install vagrant-butcher --plugin-version=2.0.0 | ||
+ | </ | ||
+ | |||
+ | ==== MATE Desktop ==== | ||
+ | |||
+ | I ([[people: |
packages/vagrant.1375911900.txt.gz · Last modified: 2013-08-07 23:45 by glen