Comment 0 for bug 859180

Revision history for this message
Benjamin Saller (bcsaller) wrote :

This branch includes the merge of many preceding branches related to the lxc local dev story. In its current state it can be used to do local lxc deployemnt and testing.

Add the following to your ~/.juju/environments.yaml

juju: environments
default: laptop

laptop
    type: lxc
    dmin-secret: whoknows
    data-dir: /tmp

I recommend adding dmsmasq to your /etc/resolv.conf with:

nameserver 192.168.122.1

However a subsequent branch makes status and ssh find the proper VM for you.

Machines are named via a pattern <username>-<env name>-<servicename>-<unitid>

So for me a wordpress deployment from the local repo would result in a machine at

http://bcsaller-laptop-wordpress-0/