Changeset 10097 in genesis
- Timestamp:
- Mar 10, 2012, 9:43:20 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/check-batch-cmd
r10095 r10097 94 94 """ 95 95 cmd = 'mca-config get /tmp/get.cfg && grep -v snmp /tmp/get.cfg > /tmp/new.cfg && echo "%s" >> /tmp/new.cfg \ 96 && mca-config activate /tmp/new.cfg ' % lines96 && mca-config activate /tmp/new.cfg 1>/dev/null 2>/dev/null && echo "ALL DONE"' % lines 97 97 ssh = paramiko.SSHClient() 98 98 ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
Note:
See TracChangeset
for help on using the changeset viewer.