OS build toolkit for Virtual Machines (QEMU/Virtualbox)
Go to file
parazyd 27adf366a7
Quote some unquoted variables in sdk.
2020-11-13 12:33:03 +01:00
extra/blends Add the extra/blends directory with a README file. 2018-09-18 16:55:40 +02:00
lib Update libdevuansdk revision. 2020-11-13 11:27:16 +01:00
.gitignore ignore temporary .zshrc 2017-07-18 15:56:10 +02:00
.gitmodules Update .gitmodules. 2020-06-22 11:49:14 +02:00
LICENSE add license and readme 2017-02-14 19:34:46 +01:00
README.md Update for latest libdevuansdk (overhaul). 2020-11-13 10:24:42 +01:00
config Update for latest libdevuansdk (overhaul). 2020-11-13 10:24:42 +01:00
sdk Quote some unquoted variables in sdk. 2020-11-13 12:33:03 +01:00

README.md

vm-sdk

vm-sdk is simple distro build system aimed at creating Vagrant boxes and other virtual machines.

Requirements

vm-sdk is designed to be used interactively from a terminal. It requires the following packages to be installed in addition to the dependencies required for libdevuansdk.

sudo permissions are required for the user that is running the build.

Devuan

qemu qemu-utils


### Gentoo

app-emulation/qemu


## Initial setup

After cloning the vm-sdk git repository, enter it and issue:

git submodule update --init


### Updating

To update vm-sdk, go to the root dir of the git repo and issue:

git pull && git submodule update --init --recursive


## Quick start

Edit the `config` file to match your needs. Sensible defaults are
already there. Then run zsh. To avoid issues, it's best to start a
vanilla version, without preloaded config files so it doesn't cause
issues with libdevuansdk/vm-sdk functions.

; zsh -f -c 'source sdk'


Now is the time you choose the OS and (optionally) a blend you want
to build the image for.

### Currently supported distros

* `devuan`

; load devuan


Once initialized, you can run the helper command:

; build_vm_dist


The image will automatically be build for you. Once finished, you will be
able to find it in the `dist/` directory in vm-sdk's root.