The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/260

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
This cleans up the docs and the example scheme.yaml file for the
"custom-manager" option.

Signed-off-by: Eddy Gurney <git...@eddyg.promessage.com>
From 3302797559789b966d095b120cb0d61de4566cba Mon Sep 17 00:00:00 2001
From: Eddy G <git...@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 <git...@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
     ...
 ```
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to