lp:~guoqiao/juju-backup-all

Owned by Joe Guo
Get this repository:
git clone https://git.launchpad.net/~guoqiao/juju-backup-all
Only Joe Guo can upload to this repository. If you are Joe Guo please log in for upload directions.

Branches

Name Last Modified Last Commit
LP1957850-lxd-dns-name 2022-01-14 03:15:09 UTC
use local-fan addr as public addr for lxd

Author: Joe Guo
Author Date: 2022-01-14 02:40:07 UTC

use local-fan addr as public addr for lxd

In libjuju[0], machine.dns_name will look for `public` or `local-cloud` address.
For lxd, neither exists, it will return None and cause ssh/scp functions fail.[1]

This patch use `local-fan` address as public address,
so `machine.dns_name` can still get a valid address.

[0]: https://github.com/juju/python-libjuju/blob/master/juju/machine.py#L231
[1]: https://github.com/juju/python-libjuju/issues/611

11 of 1 result
This repository contains Public information 
Everyone can see this information.

Subscribers