Scripts to create chemical analytics platform based on Knime
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
roles
.gitignore
.travis.yml
.zenodo.json
CHANGELOG.md
CITATION.cff
LICENSE
README.md
Vagrantfile
Vagrantfile.tpl
packer.json
playbook.yml
preseed.cfg

README.md

Chemical-Analytics-Platform Virtual Machine

Build Status DOI

Scripts to create a Vagrant box using packer and ansible.

For available software inside Virtual machine see https://github.com/NLeSC/Chemical-Analytics-Platform/wiki

Usage

Requirements:

Start virtual machine with

vagrant init nlesc/chemical-analytics-platform
vagrant up

Build

Requirements:

packer build -force packer.json

The build will produce 2 files:

  • packer_virtualbox-iso_virtualbox.box, Vagrant box, ca be used as base for a Vagrant virtual machine
  • output-virtualbox-iso/cap.ova, Open Virtualization Format Archive, can be imported into VirtualBox as a virtual machine

Test

Add box to Vagrant with

vagrant box remove --force --all nlesc/chemical-analytics-platform
vagrant box add --name nlesc/chemical-analytics-platform packer_virtualbox-iso_virtualbox.box

Then use steps described at Usage chapter in a new directory.

Push

Requirements:

Publish box on https://atlas.hashicorp.com/nlesc/boxes/chemical-analytics-platform using the following steps:

  1. Create a new version
  2. Create a new provider
  3. Choose virtualbox as provider
  4. Choose Upload
  5. Press Continue to upload
  6. Upload the packer_virtualbox-iso_virtualbox.box file generated by vagrant package
  7. Edit version
  8. Press Release version

Extending

The ova file produced during build can be used as as starting point in a another packer image build project using the 'virtualbox-ovf' packer builder.

To give another project also self upgrade capabilities add it's upgrade script to /etc/vagrant_upgrade.d directory.