Changeset 5980cc0aa86a973d25d290c1e1e13c1d88484d8a
- Timestamp:
- 06/13/07 17:28:41 (6 years ago)
- Author:
- iacopo <iacopo@…>
- Children:
- eaa7fce7cb6643c209147260e453a3f653f3e563
- Parents:
- 61d930c56fca52afca485fb3c9263c2435a7396c
- git-committer:
- iacopo <iacopo@…> (06/13/07 17:28:41)
- Message:
-
line, and those below, will be ignored--
M octofuss/utils/remotecmd.py
git-svn-id: https://labs.truelite.it/svn/octofuss/trunk@453 5a101938-5c21-0410-9b5a-a83d6f3706a9
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
ra3bf878
|
r5980cc0
|
|
| 12 | 12 | |
| 13 | 13 | import os |
| 14 | | |
| | 14 | from octofuss import log |
| 15 | 15 | |
| 16 | 16 | |
| … |
… |
|
| 26 | 26 | |
| 27 | 27 | def shutdown_host(host): |
| | 28 | log.debug("Shutting down "+host) |
| 28 | 29 | return execute(host, "halt") |
| 29 | 30 | |
| … |
… |
|
| 32 | 33 | for host in host_list: |
| 33 | 34 | ret = shutdown_host(host) |
| | 35 | log.debug("Shutdown done") |
| 34 | 36 | return ret |
| 35 | 37 | |