aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_exec.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-03-29 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-03-29 20:20:20 +0100
commit486f840694b55452ea212fbf95ebd0cafddb33a8 (patch)
treed6e3238188d1dc6e0cab6b23ab3f245975c2cd7c /src/c_exec.go
parenthere (diff)
downloadhardflip-486f840694b55452ea212fbf95ebd0cafddb33a8.tar.gz
hardflip-486f840694b55452ea212fbf95ebd0cafddb33a8.tar.bz2
hardflip-486f840694b55452ea212fbf95ebd0cafddb33a8.tar.xz
hardflip-486f840694b55452ea212fbf95ebd0cafddb33a8.tar.zst
hardflip-486f840694b55452ea212fbf95ebd0cafddb33a8.zip
iota
Diffstat (limited to '')
-rw-r--r--src/c_exec.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/c_exec.go b/src/c_exec.go
index 9e96188..8c7adfd 100644
--- a/src/c_exec.go
+++ b/src/c_exec.go
@@ -168,14 +168,14 @@ func c_format_openstack(host *HostNode, pass string) ([]string, []string) {
"OS_USERNAME=" + host.User,
"OS_PASSWORD=" + pass,
"OS_AUTH_URL=" + host.Host,
- "OS_USER_DOMAIN_ID=" + host.Stack.UserDomainID,
- "OS_PROJECT_ID=" + host.Stack.ProjectID,
- "OS_IDENTITY_API_VERSION=" + host.Stack.IdentityAPI,
- "OS_IMAGE_API_VERSION=" + host.Stack.ImageAPI,
- "OS_NETWORK_API_VERSION=" + host.Stack.NetworkAPI,
- "OS_VOLUME_API_VERSION=" + host.Stack.VolumeAPI,
- "OS_REGION_NAME=" + host.Stack.RegionName,
- "OS_ENDPOINT_TYPE=" + host.Stack.EndpointType,
+ "OS_USER_DOMAIN_ID=" + host.Stack.UserDomainID,
+ "OS_PROJECT_ID=" + host.Stack.ProjectID,
+ "OS_IDENTITY_API_VERSION=" + host.Stack.IdentityAPI,
+ "OS_IMAGE_API_VERSION=" + host.Stack.ImageAPI,
+ "OS_NETWORK_API_VERSION=" + host.Stack.NetworkAPI,
+ "OS_VOLUME_API_VERSION=" + host.Stack.VolumeAPI,
+ "OS_REGION_NAME=" + host.Stack.RegionName,
+ "OS_ENDPOINT_TYPE=" + host.Stack.EndpointType,
"OS_INTERFACE=" + host.Stack.Interface,
}
return cmd_fmt, cmd_env
@@ -236,7 +236,7 @@ func c_exec(host *HostNode, opts HardOpts, ui *HardUI) {
return
}
silent := false
- if host.Protocol == 2 {
+ if host.Protocol == PROTOCOL_CMD {
silent = host.Silent
}
if silent == false {