I'd also like to request the following: if no --config argument is found, and EUCA2OOLS_CFG is set (or some other environment variable) then it expected to have a path to a config file. ie:
# read default config unset EUCA2OOLS_CFG; euca-describe-instances
# read /tmp/my.env.eucarc export EUCA2OOLS_CFG=/tmp/my.env.eucarc; euca-describe-instances
# read /tmp/my.cmdline.cfg unset EUCA2OOLS_CFG; euca-describe-instances --config /tmp/my.cmdline.cfg
# read /tmp/my.cmdline.cfg export EUCA2OOLS_CFG=/tmp/my.env.eucarc; euca-describe-instances --config /tmp/my.cmdline.cfg
The benefit of this is that tools that invoke the euca2ools can be blissfully ignorant of --config, rather than having to explicitly support it.
I'd also like to request the following:
if no --config argument is found, and EUCA2OOLS_CFG is set (or some other environment variable) then it expected to have a path to a config file. ie:
# read default config instances
unset EUCA2OOLS_CFG; euca-describe-
# read /tmp/my.env.eucarc CFG=/tmp/ my.env. eucarc; euca-describe- instances
export EUCA2OOLS_
# read /tmp/my.cmdline.cfg instances --config /tmp/my.cmdline.cfg
unset EUCA2OOLS_CFG; euca-describe-
# read /tmp/my.cmdline.cfg CFG=/tmp/ my.env. eucarc; euca-describe- instances --config /tmp/my.cmdline.cfg
export EUCA2OOLS_
The benefit of this is that tools that invoke the euca2ools can be blissfully ignorant of --config, rather than having to explicitly support it.