Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
2c37d946
Commit
2c37d946
authored
Mar 23, 2017
by
Jason
Committed by
GitHub
Mar 23, 2017
Browse files
More bs
parent
b1e4a7c6
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_infoblox.sh
View file @
2c37d946
...
...
@@ -70,7 +70,7 @@ dns_infoblox_rm() {
## Let's see if we get something intelligible back from the grid
if
echo
"
$result
"
| egrep
'record:txt/.*:.*/default'
;
then
## 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
"
## Delete them! All the stale records!
rmResult
=
$(
_post
""
"
$objRmUrl
"
""
"DELETE"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment