Skip to content

Commit a6ee8de

Browse files
committed
Modify wrong of ssh-key file path in build.go.
1 parent 4a9405e commit a6ee8de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,10 @@ Environment Variables:
187187
cmd("go", "build", "-i", "./vendor/...")
188188
cmd("go", "build", "-ldflags", LDFLAGS, "-v", "./cmd/openvdc")
189189
cmd("go", "build", "-ldflags", LDFLAGS+
190-
"-X 'main.HostRsaKeyPath=/etc/openvdc/ssh/host_rsa_key '" +
191-
"-X 'main.HostEcdsaKeyPath=/etc/openvdc/ssh/host_ecdsa_key '" +
192-
"-X 'main.HostEd25519KeyPath=/etc/openvdc/ssh/host_ed25519_key '" +
193-
"-X 'main.DefaultConfPath=/etc/openvdc/executor.toml '", "-v", "./cmd/openvdc-executor")
190+
" -X 'main.HostRsaKeyPath=/etc/openvdc/ssh/host_rsa_key'" +
191+
" -X 'main.HostEcdsaKeyPath=/etc/openvdc/ssh/host_ecdsa_key'" +
192+
" -X 'main.HostEd25519KeyPath=/etc/openvdc/ssh/host_ed25519_key'" +
193+
" -X 'main.DefaultConfPath=/etc/openvdc/executor.toml'", "-v", "./cmd/openvdc-executor")
194194
cmd("go", "build", "-ldflags", LDFLAGS+"-X 'main.DefaultConfPath=/etc/openvdc/scheduler.toml'", "-v", "./cmd/openvdc-scheduler")
195195

196196
//Build lxc-template

0 commit comments

Comments
 (0)