Total Pageviews

Friday 20 January 2017

Vagrant Boxes

Handcrafted base boxes for Vagrant 

Handcrafted Vagrant Boxes.
List of boxes:
All boxes are available from Atlas: https://atlas.hashicorp.com/mloskot
All boxes published via corresponding tagged release on GitHub are named according to this convention:
  • {system}-{system version}-[x86_32]-{flavour}-{box version}.box.
with the architecture [x86_32] tag optional, since all the boxes target 64-bit by default.

Usage

git clone https://github.com/mloskot/vagrant-boxes.git
cd {BOX}
vagrant up

Troubleshooting

Disabling Win+Enter Windows Narrator hotkey for i3

In Windows, Win+Enter keybinding launches the Windows Narrator. Windows key is a popular alternative i3 modifier ($mod) key and pressing $mod+Enter opens a new terminal. The annoyance of launching the Windows Narrator every time you aim to open a terminal in the i3 environment of the guest VM, can be avoided by disabling the Win+Enter as the Narrator hotkey:
  1. Create registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT \CurrentVersion\Image File Execution Options\Narrator.exe
  2. Create new String Value with name Debugger and value %1.
  3.  
  4. from https://github.com/mloskot/vagrant-boxes 
    --------------

    A command line tool that takes the complexity out of building Vagrant boxes.

boxes

boxes takes the complexity out of building custom Vagrant boxes.
It's a command line tool which provides a set of templates and scripts to combine as you need. There are also a set of pre-build boxes which are regenerated regularly.

Installation & Requirements

[sudo] gem install boxes
boxes leans on Packer and VirtualBox, VMware Fusion or VMware Workstation for building boxes and these will need to available in your $PATH.

Usage

boxes is driven by the boxes command line tool, and works with artifacts inside it's own working directory. You need to specify a name for the build, a template to work with and the output provider. Something like so:
boxes build --name=trusty64-empty --template=ubuntu/trusty64 --provider=vmware
This will build a file called trusty64-empty.box in the current directory.
There's lots more to boxes than building simple empty Vagrant boxes like this, which can be see in the inline help.

from   https://github.com/nickcharlton/boxes
https://atlas.hashicorp.com/boxesio

No comments:

Post a Comment