Skip to content

Move configurations to templates #168

@thebsdbox

Description

@thebsdbox

Currently we've builtin:

  • preseed
  • booty
  • kickstart

pldrctl create deployment -a 172.16.1.15 -m 00:50:56:a5:29:2c -c booty

These have generally hardcoded configuration and can only be used once, this Issue is to track the capability to create a configuration based upon these as templates.

Something like:

Would configure a BOOTy configuration from the template with some settings and name it pullImage

pldrctl create config --template booty \
--sourceDevice /dev/sda
--destinationAddress http://192.168.0.12/images
--name pullImage

pldrctl create deployment -a 172.16.1.15 -m 00:50:56:a5:29:2c -c pullImage

pldrctl create config --template preseed \
--packages openssh cloud-utils
--noSwap
--name kubernetes

pldrctl create deployment -a 172.16.1.16 -m 00:50:56:a5:f9:24 -c kubernetes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions