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
52243d08
Unverified
Commit
52243d08
authored
Jul 01, 2021
by
xpac1985
Committed by
GitHub
Jul 01, 2021
Browse files
Clean up formatting (SHFMT)
parent
d519873f
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_infoblox.sh
View file @
52243d08
...
...
@@ -27,7 +27,7 @@ dns_infoblox_add() {
_info
"No Infoblox_View set, using fallback value 'default'"
Infoblox_View
=
"default"
fi
## Save the credentials to the account file
_saveaccountconf Infoblox_Creds
"
$Infoblox_Creds
"
_saveaccountconf Infoblox_Server
"
$Infoblox_Server
"
...
...
@@ -45,7 +45,7 @@ dns_infoblox_add() {
## Construct the request URL
baseurlnObject
=
"https://
$Infoblox_Server
/wapi/v2.2.2/record:txt?name=
$fulldomain
&text=
$txtvalue
&view=
${
Infoblox_ViewEncoded
}
"
## Add the challenge record to the Infoblox grid member
result
=
"
$(
_post
""
"
$baseurlnObject
"
""
"POST"
)
"
...
...
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