[lxc-devel] [lxd/master] Document 'auto_update' parameter for 'POST /1.0/images'

jeffshantz on Github lxc-bot at linuxcontainers.org
Fri Mar 18 16:38:38 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 584 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160318/8af380c7/attachment.bin>
-------------- next part --------------
From 94d900d81fbd17d6f5b6118e17b8612726441fa4 Mon Sep 17 00:00:00 2001
From: Jeff Shantz <jeff at csd.uwo.ca>
Date: Fri, 18 Mar 2016 12:35:23 -0400
Subject: [PATCH] Document 'auto_update' parameter for 'POST /1.0/images'

Signed-off-by: Jeff Shantz <jeff at csd.uwo.ca>
---
 doc/rest-api.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/rest-api.md b/doc/rest-api.md
index 96a3429..137455d 100644
--- a/doc/rest-api.md
+++ b/doc/rest-api.md
@@ -1080,7 +1080,8 @@ In the source image case, the following dict must be used:
 
     {
         "filename": filename,                   # Used for export (optional)
-        "public": true,                         # Whether the image can be downloaded by untrusted users (defaults to false
+        "public": true,                         # Whether the image can be downloaded by untrusted users (defaults to false)
+        "auto_update": true,                    # Whether the image should be auto-updated (optional; defaults to false)
         "properties": {                         # Image properties (optional, applied on top of source properties)
             "os": "Ubuntu"
         },


More information about the lxc-devel mailing list