[DOC] add warning about the dangers of doing salt-call state.highstate on your own machine (closes #149103)
authorPaul Tonelli <paul.tonelli@logilab.fr>
Thu, 27 Jun 2013 11:56:52 +0200
changeset 162 e53cbed31fd3
parent 161 54aa6205c9a4
child 163 d6b522b1315f
[DOC] add warning about the dangers of doing salt-call state.highstate on your own machine (closes #149103)
README.rst
docs/how-it-works.rst
--- a/README.rst	Thu Jun 27 11:13:02 2013 +0200
+++ b/README.rst	Thu Jun 27 11:56:52 2013 +0200
@@ -83,6 +83,10 @@
     sudo salt-call saltutil.sync_states
     sudo salt-call state.sls ami_builder
 
+.. WARNING::
+    At this point, do NOT run a highstate  (salt-call state.highstate), as this
+    would modify multiple important system files from your system.
+
 If you got only green and blue outputs, everything should be ok.
 
 You are now the proud owner of a variation.img file containing your
--- a/docs/how-it-works.rst	Thu Jun 27 11:13:02 2013 +0200
+++ b/docs/how-it-works.rst	Thu Jun 27 11:56:52 2013 +0200
@@ -18,6 +18,11 @@
 The next step updates the salt states, if necessary by getting the necessary
 files from the mercurial (hg) repository
 
+.. WARNING::
+  The following commands replace the /etc/rc.local file on the machine as well as a few other
+  files (see the update.sls state file for more information), so do NOT do this
+  on your main machine !
+
 .. code-block:: bash
 
   salt-call state.highstate