[Bug 955540] Re: juju-create hard-coded to use

Jamie Strandboge jamie at ubuntu.com
Wed Mar 14 22:23:14 UTC 2012

** Description changed:

  On up to date precise, if I am running libvirt with the non-default
  network of, juju-create does not honor this. It is hard-
  coded to use:
  cat <<EOF >> /etc/apt/apt.conf.d/02juju-apt-proxy
  Acquire::http { Proxy ""; };
      cat <<EOF > /etc/resolvconf/run/resolv.conf
      cat <<EOF > /etc/resolvconf/resolv.conf.d/base
  It would be best if this could be autodetected. An alternative would be
  to make this configurable by sourcing a file since juju-create is a
  shell script.
  As a workaround I can edit /usr/share/pyshared/juju/lib/lxc/data/juju-
  create to use the address I need. This obviously breaks on every upgrade
  (since this is a custom script, maybe the solution is to move juju-
- create to /etc/juju and make it a conffile).
+ create to /etc/juju and make it a conffile). Seems for this to work I
+ need to 'sudo juju destroy-environment ; juju bootstrap' and then 'juju
+ deploy' something.

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.

  [local] juju-create hard-coded to use

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list