I’m having multiple rack.
My .convox/auth is like this:
{
“production2-xxx.elb.amazonaws.com”: “xxx”,
“production3-xxx.elb.amazonaws.com”: “xxx”
}
I tried:
convox rack params --rack=incorrect-name
convox rack params --rack=production3
CONVOX_RACK=production3 convox rack params
All print the settings of production2 which I installed first.
Advice?
And how is convox switch
is supposed to work? It is not doing anything except printing current rack name?
Looks at what I have:
convox switch production3
ERROR: could not find rack: production3
Okay, after pinging support, here is what I got:
convox switch is supposed to be used if you use console.convox.com
If you are not using console.convox.com:
CONVOX_HOST=xxx convox rack params
will show you the params of the rack
convox login HOST
will default convox to work on the rack at HOST