mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
machine: comment source and destination must be absolute
Addresses the post-merge review comment: https://github.com/systemd/systemd/pull/35066#discussion_r1901841247
This commit is contained in:
@@ -150,9 +150,9 @@ static SD_VARLINK_DEFINE_METHOD(
|
||||
static SD_VARLINK_DEFINE_METHOD(
|
||||
BindMount,
|
||||
VARLINK_DEFINE_MACHINE_LOOKUP_AND_POLKIT_INPUT_FIELDS,
|
||||
SD_VARLINK_FIELD_COMMENT("The source directory/file on the host"),
|
||||
SD_VARLINK_FIELD_COMMENT("The source directory/file on the host. The path must be absolute."),
|
||||
SD_VARLINK_DEFINE_INPUT(source, SD_VARLINK_STRING, 0),
|
||||
SD_VARLINK_FIELD_COMMENT("The destination directory/file in the container. If null, it's equal to 'source'"),
|
||||
SD_VARLINK_FIELD_COMMENT("The destination directory/file in the container. The path must be absolute. If null, it's equal to 'source'"),
|
||||
SD_VARLINK_DEFINE_INPUT(destination, SD_VARLINK_STRING, SD_VARLINK_NULLABLE),
|
||||
SD_VARLINK_FIELD_COMMENT("If true, the bind mount shall be read-only"),
|
||||
SD_VARLINK_DEFINE_INPUT(readOnly, SD_VARLINK_BOOL, SD_VARLINK_NULLABLE),
|
||||
|
||||
Reference in New Issue
Block a user