others/rc.local
author Paul Tonelli <paul.tonelli@logilab.fr>
Tue, 12 Mar 2013 11:51:26 +0100
changeset 66 23a31e4cbb65
parent 56 b9b71002538b
child 84 40a8790380af
permissions -rw-r--r--
the scripts now cleans the ssh keys if present as well as the apt cache

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

### Specific to salt-call machine creation

/usr/bin/env salt-call state.highstate
/usr/bin/env salt-call state.highstate
/usr/bin/env salt-call vm_create.create_variation

exit 0