Skip to content

implement variables in yaml #13

@jkent

Description

@jkent

Variables in yaml would allow for conditional configuration, for example, system init type (systemd/sysv-rc/openrc)

$init == systemd:
  install:
    libpam-systemd
  script: | # enable ttySAC0
    systemctl enable [email protected]

$init == sysv-rc:
  script: |
    update-rc.d firstboot defaults

also $init would be exported to script sections as $DIBS_init

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions