Changeset 10097 in genesis for tools


Ignore:
Timestamp:
Mar 10, 2012, 9:43:20 PM (13 years ago)
Author:
rick
Message:

paramiko and mca-config are no friends of each-other. It seems to look the TTY causing the UBNT to crash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/check-batch-cmd

    r10095 r10097  
    9494"""
    9595  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' % lines
     96    && mca-config activate /tmp/new.cfg 1>/dev/null 2>/dev/null && echo "ALL DONE"' % lines
    9797  ssh = paramiko.SSHClient()
    9898  ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
Note: See TracChangeset for help on using the changeset viewer.