pysalx/scripts/pysalx-api-id

11 lines
168 B
Bash
Executable File

#!/bin/bash
# Get Analyzer ID via API
# XXX kruft
SCIAPSIP=`cat ~/.sciaps-ip`
SCIAPSPORT=`cat ~/.sciaps-port`
curl \
http://$SCIAPSIP:$SCIAPSPORT/api/v2/id