Changeset 10095 in genesis


Ignore:
Timestamp:
Mar 10, 2012, 8:57:24 PM (13 years ago)
Author:
rick
Message:

Make the keys command somehow at bit more robust.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/check-batch-cmd

    r10094 r10095  
    9393snmp.status=enabled\
    9494"""
    95   cmd = '(mca-config get /tmp/get.cfg | grep -v snmp /tmp/get.cfg; echo "%s") >/tmp/new.cfg \
     95  cmd = 'mca-config get /tmp/get.cfg && grep -v snmp /tmp/get.cfg > /tmp/new.cfg && echo "%s" >> /tmp/new.cfg \
    9696    && mca-config activate /tmp/new.cfg' % lines
    9797  ssh = paramiko.SSHClient()
Note: See TracChangeset for help on using the changeset viewer.