diff options
author | gjoranv <gv@oath.com> | 2018-07-12 13:49:09 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2018-07-12 13:49:09 +0200 |
commit | 7f96cd9c19db20462f518d4ffcb04b69f8dfb88b (patch) | |
tree | 1ad0f62e3351565fe2276d9ad5c0ea68b71b745e /vagrant/README.md | |
parent | 1192e5823e4486343dff649cd6443babc4be2822 (diff) |
Add description of how to build the centos7-desktop box.
- According to input from code review.
Diffstat (limited to 'vagrant/README.md')
-rw-r--r-- | vagrant/README.md | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/vagrant/README.md b/vagrant/README.md index 7f5b17cc093..dfc9106b5f8 100644 --- a/vagrant/README.md +++ b/vagrant/README.md @@ -1,6 +1,6 @@ <!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> -# Create C++ or Java dev environment on CentOS using VirtualBox and Vagrant +# Create C++ / Java dev environment on CentOS using VirtualBox and Vagrant ## Prerequisites * [Install VirtualBox](https://www.virtualbox.org/wiki/Downloads) @@ -21,8 +21,21 @@ ##### b. For a dev environment with GUI and CLion: - export VESPA_VAGRANT_VM_BOX=<TODO> - export VESPA_VAGRANT_VM_BOX_URL=<TODO> +Create centos7-desktop box: + +* Install packer by following guide at [packer.io](https://www.packer.io/intro/getting-started/install.html) + +* Clone boxcutter centos repo and build the box: + + + git clone https://github.com/boxcutter/centos.git + ./bin/box build centos7-desktop.json virtualbox + +Example exports: + + export VESPA_VAGRANT_VM_BOX="centos7-desktop" + export VESPA_VAGRANT_VM_BOX_URL="$HOME/git/boxcutter/centos/box/virtualbox/centos7-desktop-xx.yyyy.z.box" + #### 3. Install Vagrant VirtualBox Guest Additions plugin This is required for mounting shared folders and get mouse pointer integration and seamless windows in the virtual CentOS desktop. |