Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
fb22ee94
Unverified
Commit
fb22ee94
authored
Jun 10, 2020
by
neil
Committed by
GitHub
Jun 10, 2020
Browse files
Merge pull request #2917 from mdbraber/lexicon_output_fix
Lexicon output fix
parents
60e04b90
f03904eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_lexicon.sh
View file @
fb22ee94
...
...
@@ -92,7 +92,7 @@ dns_lexicon_add() {
_savedomainconf LEXICON_OPTS
"
$LEXICON_OPTS
"
# shellcheck disable=SC2086
$lexicon_cmd
"
$PROVIDER
"
$LEXICON_OPTS
create
"
${
domain
}
"
TXT
--name
=
"_acme-challenge.
${
domain
}
."
--content
=
"
${
txtvalue
}
"
$lexicon_cmd
"
$PROVIDER
"
$LEXICON_OPTS
create
"
${
domain
}
"
TXT
--name
=
"_acme-challenge.
${
domain
}
."
--content
=
"
${
txtvalue
}
"
--output
QUIET
}
...
...
@@ -108,6 +108,6 @@ dns_lexicon_rm() {
domain
=
$(
printf
"%s"
"
$fulldomain
"
|
cut
-d
.
-f
2-999
)
# shellcheck disable=SC2086
$lexicon_cmd
"
$PROVIDER
"
$LEXICON_OPTS
delete
"
${
domain
}
"
TXT
--name
=
"_acme-challenge.
${
domain
}
."
--content
=
"
${
txtvalue
}
"
$lexicon_cmd
"
$PROVIDER
"
$LEXICON_OPTS
delete
"
${
domain
}
"
TXT
--name
=
"_acme-challenge.
${
domain
}
."
--content
=
"
${
txtvalue
}
"
--output
QUIET
}
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