[lxc-devel] [distrobuilder/master] Fix syntax in documentation for custom-manager
eddyg on Github
lxc-bot at linuxcontainers.org
Sun Nov 17 20:06:08 UTC 2019
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 460 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20191117/b122c88e/attachment.bin>
-------------- next part --------------
From 3302797559789b966d095b120cb0d61de4566cba Mon Sep 17 00:00:00 2001
From: Eddy G <github at eddyg.promessage.com>
Date: Sun, 17 Nov 2019 15:00:05 -0500
Subject: [PATCH] Fix syntax for custom-manager
This cleans up the docs and the example scheme.yaml file for the
"custom-manager" option.
Signed-off-by: Eddy Gurney <github at eddyg.promessage.com>
---
doc/examples/scheme.yaml | 2 +-
doc/packages.md | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/examples/scheme.yaml b/doc/examples/scheme.yaml
index 1d2240f..20947f9 100644
--- a/doc/examples/scheme.yaml
+++ b/doc/examples/scheme.yaml
@@ -137,7 +137,7 @@ packages:
flags:
- update
flags:
- --yes
+ - --yes
update: true
cleanup: false
sets:
diff --git a/doc/packages.md b/doc/packages.md
index 9521c74..ae2ac32 100644
--- a/doc/packages.md
+++ b/doc/packages.md
@@ -50,21 +50,21 @@ This is useful if the desired package manager is not supported by distrobuilder.
packages:
custom-manager: # required
clean: # required
- command: <string>
+ cmd: <string>
flags: <array>
install: # required
- command: <string>
+ cmd: <string>
flags: <array>
remove: # required
- command: <string>
+ cmd: <string>
flags: <array>
refresh: # required
- command: <string>
+ cmd: <string>
flags: <array>
update: # required
- command: <string>
+ cmd: <string>
flags: <array>
- flags: <array>
+ flags: <array> # global flags for all commands
...
```
More information about the lxc-devel
mailing list