Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 13 hours ago
JSON representation
A lightweight VM based on https://github.com/mrakitin/sirepo-vm
- Host: GitHub
- URL: https://github.com/mrakitin/empty-vm
- Owner: mrakitin
- Created: 2023-06-15T15:18:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-12T21:21:59.000Z (2 months ago)
- Last Synced: 2024-09-14T06:54:25.546Z (2 months ago)
- Topics: vagrant, virtualbox-vm, vm
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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