temporarily added reading the ec2 information in rc.local
authorPaul Tonelli <paul.tonelli@logilab.fr>
Mon, 25 Mar 2013 16:19:37 +0100
changeset 95 3802b216e62d
parent 94 4a2b15de9ec9
child 96 077e05a2ce8e
temporarily added reading the ec2 information in rc.local
others/rc.local
--- a/others/rc.local	Mon Mar 25 11:32:52 2013 +0100
+++ b/others/rc.local	Mon Mar 25 16:19:37 2013 +0100
@@ -13,6 +13,9 @@
 
 ### Specific to salt-call machine creation
 
+## parse the user-data for ami related information
+/usr/bin/env python /etc/salt/srv/others/ec2_ami_parser.py
+
 ## fills the missing grains 
 /usr/bin/env salt-call state.highstate
 ## updates hg 
@@ -20,7 +23,7 @@
 ## should source everything in /var/salt 
 /usr/bin/env salt-call state.highstate
 ## should create the vm 
-#/usr/bin/env salt-call state.sls ami_creator 
-/usr/bin/env salt-call vm_create.create_variation
+/usr/bin/env salt-call state.sls ami_creator 
+#/usr/bin/env salt-call vm_create.create_variation
 
 exit 0