Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add salt-cloud script

  • Loading branch information...
commit c8f2f9bb38c05c01b2e81bf7e93edeeec90e8bae 1 parent 9d41644
@thatch45 thatch45 authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 scripts/salt-cloud
View
16 scripts/salt-cloud
@@ -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')
Please sign in to comment.
Something went wrong with that request. Please try again.