设置Ubuntu Enterprise Cloud时遇到问题。 当我使用这个命令时:
euca-authorize default -P tcp -p 22 -s 0.0.0.0/0
该系统说:
EC2_ACCESS_KEY environment variable must be set.
谁可以帮我这个事? 我怎么解决这个问题?
谢谢。
帕特里克
我在一些关于设置Ubuntu Enterprise Cloud的评论中发现了这一点:
题:
我尝试启动emi的一个实例,但是我得到了:
“必须设置EC2_ACCESS_KEY环境variables”。
你能帮我吗? 回复
回答:
这是设置在欧洲,“。 eucarc“应该提供所需的envvariables并将其设置为进一步的命令。
也许这对你有用
非常感谢你的答复。
我设法解决这个问题。 只需使用以下命令:
source ~/.euca/eucarc
我从网上find以下信息:
...should have created a "eucarc" file with important environment variable information within it. You will need to source the eucarc to run the ec2tools in your environment...
谢谢。
帕特里克。