Skip to content

implement variables in yaml #13

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 getty@ttySAC0.service

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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