mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add salt-cloud script
This commit is contained in:
parent
9d416447c9
commit
c8f2f9bb38
1 changed files with 16 additions and 0 deletions
16
scripts/salt-cloud
Normal file
16
scripts/salt-cloud
Normal 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')
|
Loading…
Add table
Reference in a new issue