Open rajesh-erasani opened 7 years ago
Hi,
How to run multiple stackato clients on a machine without having the clients to share the token, key and target files?
https://github.com/hpcloud/stackato-cli/blob/730767d36f60a7e99322bca87c87c2a34b53a9c2/lib/mgr/cfile.tcl#L109
https://github.com/hpcloud/stackato-cli/blob/730767d36f60a7e99322bca87c87c2a34b53a9c2/lib/mgr/targets.tcl#L219
Allowing 2 or more clients use the same folder (C:\.stackato\client) for token, key and target is causing 403 not authorized errors when multiple clients are trying to push apps, to the same target.
You can override HOME via STACKATO_APP_ROOT (https://github.com/hpcloud/stackato-cli/blob/730767d36f60a7e99322bca87c87c2a34b53a9c2/bin/stackato#L49) and give each client its own setting of this env.var
Hi,
How to run multiple stackato clients on a machine without having the clients to share the token, key and target files?
https://github.com/hpcloud/stackato-cli/blob/730767d36f60a7e99322bca87c87c2a34b53a9c2/lib/mgr/cfile.tcl#L109
https://github.com/hpcloud/stackato-cli/blob/730767d36f60a7e99322bca87c87c2a34b53a9c2/lib/mgr/targets.tcl#L219
Allowing 2 or more clients use the same folder (C:\.stackato\client) for token, key and target is causing 403 not authorized errors when multiple clients are trying to push apps, to the same target.