|
@ -19,7 +19,6 @@ parse_response() { |
|
|
if [ "$status" = "success" ]; then |
|
|
if [ "$status" = "success" ]; then |
|
|
panos_key=$(echo "$1" | sed 's/^.*\(<key>\)\(.*\)<\/key>.*/\2/g') |
|
|
panos_key=$(echo "$1" | sed 's/^.*\(<key>\)\(.*\)<\/key>.*/\2/g') |
|
|
_panos_key=$panos_key |
|
|
_panos_key=$panos_key |
|
|
message='PAN-OS key is set.' |
|
|
|
|
|
else |
|
|
else |
|
|
message="PAN-OS Key could not be set." |
|
|
message="PAN-OS Key could not be set." |
|
|
fi |
|
|
fi |
|
|