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.

-- 
euca2ools should read config and credentials from config file
https://bugs.launchpad.net/bugs/485106
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to euca2ools in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to