On woensdag 2 november 2022 12:37:53 CET you wrote:
> > For mounting 'tag-root' I explicitly added ``dirname: '/'``.
> 
> Removing that and it succeeds, so lowering severity to normal.

https://gitlab.com/larswirzenius/vmdb2/-/blob/main/vmdb/plugins/mount_plugin.py#L50:
```
    def mount_rootfs(self, values, settings, state):
        tag = values["mount"]
        dirname = values["dirname"] or None
        mount_on = values["mount-on"] or None

        device = state.tags.get_dev(tag)

        if dirname:
            if not mount_on:
                raise Exception("no mount-on tag given")
```

The code indicates they MUST be used both or neither.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to