4

I would like to use another AMI with juju instead of the default AMI, where do I specify this?

Jorge Castro
  • 73,717

2 Answers2

5

This used to be supported in ~/.juju/environments.yaml as default-image-id in older versions of Juju but is currently unimplemented in Juju 2.x.

According to this thread it just needs to be implemented:

Jorge Castro
  • 73,717
SpamapS
  • 20,110
-1

If the image id is absolutely necessary for you, then this how you can get it working in precise.

Create a directory of your choice. cd into it and run:

bzr branch lp:juju/0.5

However before you can run from source, you need to make sure you have the dependencies installed.

sudo apt-get install python-zookeeper python-virtualenv python-yaml

Next cd into the 0.5 directory and run bzr revert -r479

Now run python setup.py develop inside the directory. Juju works great :)

Eric Carvalho
  • 55,453