Add salt-cloud script

This commit is contained in:
Thomas S Hatch 2012-04-29 09:37:28 -06:00
parent 9d416447c9
commit c8f2f9bb38

16
scripts/salt-cloud Normal file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env python
import saltcloud
def main():
'''
The main function for salt-cloud
'''
cloud = saltcloud.SaltCloud()
cloud.run()
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
raise SystemExit('\nExiting gracefully on Ctrl-c')