1
0
mirror of https://github.com/gryf/boxpy.git synced 2026-02-03 14:55:50 +01:00
gryf da1ae93fa2 Added ability for merging options using all possible ways.
Currently specifying attributes of VM was done by using command options
during creation, or only required VM name for rebuilding (due to smart
way of storing information within VM definition).

Now, there is possibility for providing all the information using
special key "boxpy_data" in user-script, so that there is no need to
provide that information from command line.

All three ways are respected with following order:

- default, which are hard coded in defaults
- custom user script passed by --cloud-config (or stored in vm in case
  of rebuild)
- information which is stored in VM definition (if exists - this only
  affects "rebuild" command)
- and finally highest priority have parameters passed by command line.
2021-05-05 20:15:39 +02:00
2021-04-10 18:49:30 +02:00
2021-04-08 20:19:54 +02:00

Box.py is a simple automation tool meant to run Ubuntu cloud image on top of VirtualBox.

What it does is simply download official cloud image for Ubuntu server, set up VM, tweak it up and do the initial pre-configuration using generated config drive.

Perhaps other distros would be supported int the future.

Requirements

  • Python 3.x

  • Virtualbox (obviously)

  • mkisofs or genisoimage command for generating iso image

  • wget command for fetching images

  • sha256sum command for checksum check

  • qemu-img from qemu-utils package command for converting between images formats

Description
Run Ubuntu or Fedora cloud image on top of VirtualBox using commandline tool
Readme GPL-3.0 785 KiB
Languages
Python 100%