Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Support templates with some of systemd units #1390

@kayrus

Description

@kayrus

Following unit types don't support templates

  • automount
  • busname
  • device
  • mount
  • scope
  • slice
  • snapshot
  • swap

We can fix that in systemd code. I suppose changing this string should solve at least *.mount units. I like this idea as it will add additional flexibility for fleet. But potentially it could case security risks.

Other solution - is to reject such unit files at fleet side. This is most simple solution but it will not increase fleet flexibility.

/cc @antrik @philips @crawford

relates to #303 and #1194

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