GithubHelp home page GithubHelp logo

stebo85 / bumblebee-images Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nectar-rc/bumblebee-images

0.0 0.0 0.0 1.32 MB

License: Apache License 2.0

HTML 23.96% Jinja 29.48% Shell 24.89% Python 21.67%

bumblebee-images's Introduction

Nectar Virtual Desktop images

This project includes scripts to build a Virtual Desktop images suitable for use with the ARDC Nectar Bumblebee service.

We have:

  • Packer JSON config for building the image on the Nectar Research Cloud.
  • Ansible roles for provisioning software, including the desktop GUI
  • Vagrant config for building and testing the image build process locally.

The images are built on top of the existing image building tools from the Nectar Images project.

We overload the image_source field in the Packer config to specifiy an image name, which will be resolved to the actual image ID. This functionality is not supported in Packer, so we do it as part of our build scripts.

This repository will be mostly used for automated image building jobs on the Nectar CI server, but we do support building images by hand, which can be especially useful for testing.

Requirements

You'll require the following tools installed and in your path

  • Packer
  • Ansible
  • Vagrant (for testing)
  • OpenStack CLI
  • jq (JSON CLI tool)
  • QEMU tools (for image shrinking process)

Building the image

  1. Make sure all the required software (listed above) is installed
  2. Load your Nectar RC credentials into your environment
  3. cd to the directory containing this README.md file
  4. Run the build script
./build_local.sh

Testing the image with Vagrant

We include a Vagrantfile which can be used for testing the provisioning process with Ansible and test the resulting image.

Run vagrant status in the top level directory for a list of available virtual machine profiles you can test.

To launch a test Vagrant instance, use the following command:

$ vagrant up --no-destroy-on-error

The Vagrant config prefers the libvirt backend, which is ideal for Linux machines but you'll need to set it up yourself and support non-root access. The virtualbox provider is also enabled if you'd prefer to use that.

You can set the provider manually on the command line using the provder argument. For example:

$ vagrant up --provider virtualbox

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.