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

systemd mount service not enabled #2569

@jansmets

Description

@jansmets

Broken in latest alpha - 2079.0.0 and still works in latest beta 2051.2.0

Likely a problem with the \x2d escape for the '-' in the directory name.

Ignition boot log says this is enabled

Mar 20 10:00:54 localhost ignition[560]: files: op(b): [started] enabling unit "mnt-persistent\\x2dvolume.mount"

but it's actually not

Loaded: loaded (/etc/systemd/system/mnt-persistent\x2dvolume.mount; disabled; vendor preset: disabled)

part of ignition config :

"systemd": {
   "units": [
   {
   "contents": "[Unit]\nDescription=mnt-persistent-volume\n[Mount]\nWhat=/dev/sda1\nWhere=/mnt/persistent-volume\nType=xfs\n[Install]\nWantedBy=kubelet.service\n",
   "enabled": true,
   "name": "mnt-persistent\\x2dvolume.mount"
   },
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions