make debug more readable by removing colors
authorPaul Tonelli <paul.tonelli@logilab.fr>
Fri, 19 Apr 2013 13:59:30 +0200
changeset 125 3c64efeb3ee4
parent 124 bba5d6e1d088
child 126 fc1f2d232ad5
make debug more readable by removing colors
others/rc.local
--- a/others/rc.local	Fri Apr 19 13:58:41 2013 +0200
+++ b/others/rc.local	Fri Apr 19 13:59:30 2013 +0200
@@ -23,7 +23,7 @@
         sleep 1
     done
     ## wait until no more salt-call is running
-    /usr/bin/env salt-call state.highstate &> /dev/ttyS0
+    /usr/bin/env salt-call --no-color state.highstate &> /dev/ttyS0
 done
 
 while [ `ps auxf |grep salt-call |grep -v grep|wc -l` -ne 0 ]
@@ -33,7 +33,7 @@
 ## wait until no more salt-call is running
 ## download, untar, resize and mount
 ## update modify image depending on variation.sls file
-/usr/bin/env salt-call state.sls ami_creator &> /dev/ttyS0
+/usr/bin/env salt-call --no-color state.sls ami_creator &> /dev/ttyS0
 ## umount, resize and upload if possible
 
 exit 0