Public bug reported: On up to date precise, if I am running libvirt with the non-default network of 192.168.123.1, 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 "http://192.168.122.1:3142"; }; EOF ... cat <<EOF > /etc/resolvconf/run/resolv.conf nameserver 192.168.122.1 EOF cat <<EOF > /etc/resolvconf/resolv.conf.d/base nameserver 192.168.122.1 EOF ... 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). ** Affects: juju (Ubuntu) Importance: Undecided Status: New ** Description changed: On up to date precise, if I am running libvirt with the non-default network of 192.168.123.1, 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 "http://192.168.122.1:3142"; }; EOF ... - cat <<EOF > /etc/resolvconf/run/resolv.conf + cat <<EOF > /etc/resolvconf/run/resolv.conf nameserver 192.168.122.1 EOF - cat <<EOF > /etc/resolvconf/resolv.conf.d/base + cat <<EOF > /etc/resolvconf/resolv.conf.d/base nameserver 192.168.122.1 EOF ... 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). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju in Ubuntu. https://bugs.launchpad.net/bugs/955540 Title: juju-create hard-coded to use 192.168.122.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju/+bug/955540/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs