From a703c6a8b67bb56cb76bec65a67e62d344923ca8 Mon Sep 17 00:00:00 2001
From: Brian Candler <b.candler@pobox.com>
Date: Sat, 8 Jul 2017 16:31:08 +0100
Subject: doc: document the cmdline options to NoCloud

Add permitted keys to documentation on seeding NoCloud.
---
 doc/rtd/topics/datasources/nocloud.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'doc')

diff --git a/doc/rtd/topics/datasources/nocloud.rst b/doc/rtd/topics/datasources/nocloud.rst
index 665057f3..08578e86 100644
--- a/doc/rtd/topics/datasources/nocloud.rst
+++ b/doc/rtd/topics/datasources/nocloud.rst
@@ -24,6 +24,16 @@ or
 
   ds=nocloud-net[;key=val;key=val]
 
+The permitted keys are:
+
+- ``h`` or ``local-hostname``
+- ``i`` or ``instance-id``
+- ``s`` or ``seedfrom``
+
+With ``ds=nocloud``, the ``seedfrom`` value must start with ``/`` or
+``file://``.  With ``ds=nocloud-net``, the ``seedfrom`` value must start
+with ``http://``, ``https://`` or ``ftp://``
+
 e.g. you can pass this option to QEMU:
 
 ::
-- 
cgit v1.2.3