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
a35d2716
Commit
a35d2716
authored
Jul 30, 2018
by
KUDO Takashi
Browse files
cleanup
parent
72a7f932
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_conoha.sh
View file @
a35d2716
...
@@ -38,7 +38,6 @@ dns_conoha_add() {
...
@@ -38,7 +38,6 @@ dns_conoha_add() {
else
else
return
1
return
1
fi
fi
#return 1 #XXX
_debug
"First detect the root zone"
_debug
"First detect the root zone"
if
!
_get_root
"
$fulldomain
"
"
$CONOHA_Api
"
"
$accesstoken
"
;
then
if
!
_get_root
"
$fulldomain
"
"
$CONOHA_Api
"
"
$accesstoken
"
;
then
...
@@ -48,7 +47,6 @@ dns_conoha_add() {
...
@@ -48,7 +47,6 @@ dns_conoha_add() {
_debug _domain_id
"
$_domain_id
"
_debug _domain_id
"
$_domain_id
"
_debug _sub_domain
"
$_sub_domain
"
_debug _sub_domain
"
$_sub_domain
"
_debug _domain
"
$_domain
"
_debug _domain
"
$_domain
"
#return 1 #XXX
_info
"Adding record"
_info
"Adding record"
body
=
"{
\"
type
\"
:
\"
TXT
\"
,
\"
name
\"
:
\"
$fulldomain
.
\"
,
\"
data
\"
:
\"
$txtvalue
\"
,
\"
ttl
\"
:60}"
body
=
"{
\"
type
\"
:
\"
TXT
\"
,
\"
name
\"
:
\"
$fulldomain
.
\"
,
\"
data
\"
:
\"
$txtvalue
\"
,
\"
ttl
\"
:60}"
...
...
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