Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrakitin/empty-vm

A lightweight VM based on https://github.com/mrakitin/sirepo-vm
https://github.com/mrakitin/empty-vm

vagrant virtualbox-vm vm

Last synced: about 1 month ago
JSON representation

A lightweight VM based on https://github.com/mrakitin/sirepo-vm

Awesome Lists containing this project

README

        

# Installation & usage instructions

## VirtualBox

Install VirtualBox from https://www.virtualbox.org.

## Vagrant

Install Vagrant from https://developer.hashicorp.com/vagrant/downloads for your
platform.

## Use case 1: build the VM locally

### Start the VM:

```console
$ vagrant up
```

That should perform all building steps and even will run the test with the built
images.

### Interactive use

On the host machine:

```console
$ vagrant ssh
```

### Destroy the VM and start over

```console
$ vagrant destroy --force
$ vagrant box list
$ vagrant box remove sirepo-vm
```

## Use case 2: load the generated VM

Download a generated .zip archive from GHA artifacts and unpack it to have the
file named `empty-vm.box`. Then run the following commands:

```console
$ vagrant box add empty-vm empty-vm.box
$ vagrant box list
$ vagrant init empty-vm empty-vm.box
$ vagrant up --no-provision
$ vagrant ssh
```

### Docs
- https://developer.hashicorp.com/vagrant/docs/cli/package
- https://stackoverflow.com/a/20680816/4143531

## General notes

https://ctrlnotes.com/vagrant-advanced-examples/#-insert-custom-ssh-public-key-to-the-vm