Commit 2c37d946 authored by Jason's avatar Jason Committed by GitHub
Browse files

More bs

parent b1e4a7c6
...@@ -70,7 +70,7 @@ dns_infoblox_rm() { ...@@ -70,7 +70,7 @@ dns_infoblox_rm() {
## Let's see if we get something intelligible back from the grid ## Let's see if we get something intelligible back from the grid
if echo "$result" | egrep 'record:txt/.*:.*/default'; then if echo "$result" | egrep 'record:txt/.*:.*/default'; then
## Extract the object reference ## Extract the object reference
objRef=$(_egrep_o 'record:txt/.*:.*/default' <<< $result) objRef=$(_egrep_o 'record:txt/.*:.*/default' <<<$result)
objRmUrl="https://$Infoblox_Server/wapi/v2.2.2/$objRef" objRmUrl="https://$Infoblox_Server/wapi/v2.2.2/$objRef"
## Delete them! All the stale records! ## Delete them! All the stale records!
rmResult=$(_post "" "$objRmUrl" "" "DELETE") rmResult=$(_post "" "$objRmUrl" "" "DELETE")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment