Comment 3 for bug 526504

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 526504] Re: uec-publish-tarball should gracefully fail when run before eucarc is sourced

On Tue, 23 Feb 2010, Thierry Carrez wrote:

> Well, I was more thinking of something along those lines:
>
> $ uec-publish-tarball lucid-server-uec-amd64.tar.gz lucid
> UEC environment not set ! Have you sourced eucarc ?
>
> I don't really see the point of extracting the image if we know by
> advance registration will fail ?

I'd like to avoid having to worry about configuration of a separate
utility. Ie, at the moment there are 2 ways in which euca2ools could get
its environment set up:
 - config file (~/.eucarc, /etc/eucarc)
 - environment files

Checking for those 2 things isn't impossible, but just want to avoid the
rabbit hole.