mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
17 lines
307 B
Python
Executable File
17 lines
307 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import salt.cloud.cli
|
|
|
|
def main():
|
|
'''
|
|
The main function for salt-cloud
|
|
'''
|
|
cloud = salt.cloud.cli.SaltCloud()
|
|
cloud.run()
|
|
|
|
if __name__ == '__main__':
|
|
try:
|
|
main()
|
|
except KeyboardInterrupt:
|
|
raise SystemExit('\nExiting gracefully on Ctrl-c')
|