Dear Philipp,

Please find updated version of the vmm builder attached.

Changes:

 1. Eliminate doas(1) by using VM instances. This also allows to use access
 control features provided by vmd(8).

 2. Add new and rename some existing configuration items to be more in sync
 with what is used in vm.conf(5), otherwise we have to mind-map it,
 like "bios" in json = "boot" in vm.conf:
    vm_name         - set to "required"
    vm_template     - new, set to "required"
    bios            - rename to "boot"
    iso_image       - rename to "cdrom"
    ram_size        - rename to "memory"
    log_directory   - new, to be able to set arbitrary directory for logs
    
 3. Remove some sanity checks and hardcoded defaults like use "packer-"
 for "vm_name" if former isn't provided, set memory to 512m if not provided
 (512m is the default for vmd), various path expansions to homedir.
 Defaults like boot image, cdrom etc can be added to the "parent" VM template
 wich access control on what can be changed by template user.

 4. Add vm.conf example and README

Pull request:
https://github.com/double-p/packer-builder-openbsd-vmm/pull/8

-- 
With best regards,
Pavel Korovin

Attachment: packer-vmm-0.0.20200307.tar.gz
Description: Binary data

Reply via email to