-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5871 from dimitern/lp-1575676-lxd-bridge
Fixes lp:1575676: Detect LXD default profile's bridge name and use it Changed tools/lxdclient code not to assume the default LXD bridge name is always "lxdbr0". Instead, the "default" profile's bridge device name is determined and used in Client. See http://pad.lv/1575676 for details. QA steps to verify the fix: 1. LXD provider (where it appears): ``` $ sudo dpkg-reconfigure -p medium lxd # rename the lxdbr0 to something else, keep the rest the same. $ juju bootstrap --upload-tools lxd localhost # expect success, before this fix it failed to complete due to lxdbr0 # not existing. $ juju deploy ubuntu # also OK ``` 2. Manual provider (for completeness): ``` $ lxc launch ubuntu:xenial man-x1 $ lxc info man-x1 | grep eth0 # find eth0's address, e.g. 10.0.1.2 $ lxc file push ~/.ssh/<ssh-key.pub> man-x1/home/ubuntu/.ssh/authorized_keys # to allow the below to work $ ssh ubuntu@10.0.1.2 # should work now $ juju bootstrap --upload-tools man manual/10.0.1.2 ```
- Loading branch information
Showing
5 changed files
with
127 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters