[doc] add warning that user should not call variation sls file
authorPaul Tonelli <paul.tonelli@logilab.fr>
Thu, 09 Jan 2014 12:36:13 +0100
changeset 168 5a6f7425f820
parent 167 506d0fb93a6b
child 169 1b1a148fed55
[doc] add warning that user should not call variation sls file
docs/how-to-build-an-ami.rst
--- a/docs/how-to-build-an-ami.rst	Tue Nov 26 13:58:51 2013 +0100
+++ b/docs/how-to-build-an-ami.rst	Thu Jan 09 12:36:13 2014 +0100
@@ -18,11 +18,13 @@
    in a Mercurial repository (must be accessible from the cloud
    instance) so that a:
 
-.. code-block:: bash
+   .. code-block:: bash
 
      user@host:~$ salt-call state.sls variation.sls
-
-   will create the machine you want.
+ 
+   would create the machine you want. Do NOT launch the previous command yourself
+   unless your are in a prepared environment (chroot), this will be done
+   automatically by the ami-builder instance.
 
 2. Then, launch an instance of the "ami-creator" image in your
    cloud. Use at least 5Gb of disk (add more if your sls file requires
@@ -34,8 +36,8 @@
 
    Warning : the file needs to un-indented (remove whitespaces at beginning of lines) 
 
-.. include:: ../user_data.cfg.sample
-  :literal:
+  .. include:: ../user_data.cfg.sample
+    :literal:
 
 3. you can then connect to your instance and wait until everything in ``/mnt``
    is unmounted. Upload to glance (openstack) or amazon aws is automatic if you