-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] .travis.yml: Install an old release (2.0) of LXD from trusty-ba…
…ckports (official LXD PPA deprecated/removed and snap does not work on Trusty)
- Loading branch information
Showing
4 changed files
with
31 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/bin/bash | ||
HERE=$(dirname $(readlink -m $0)) | ||
# Install and configure LXD on Travis-CI | ||
add-apt-repository -y ppa:ubuntu-lxc/lxd-stable; | ||
debconf-set-selections $HERE/lxd-debconf | ||
echo 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse' > /etc/apt/sources.list.d/backports.list | ||
apt-get -qq update; | ||
apt-get -y install lxd; | ||
apt-get -y install -t trusty-backports ca-certificates lxd; | ||
lxd init --auto | ||
usermod -a -G lxd travis | ||
lxc network create testbr0 | ||
lxc network attach-profile testbr0 default eth0 | ||
lxc network show testbr0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
lxd lxd/bridge-ipv4-address string 10.224.136.1 | ||
lxd lxd/bridge-ipv4-dhcp-leases string 252 | ||
lxd lxd/use-existing-bridge boolean false | ||
lxd lxd/bridge-ipv6-netmask string | ||
lxd lxd/bridge-ipv6 boolean false | ||
lxd lxd/setup-bridge boolean true | ||
lxd lxd/bridge-ipv4-netmask string 24 | ||
lxd lxd/bridge-ipv4 boolean true | ||
lxd lxd/bridge-ipv6-address string | ||
lxd lxd/update-profile boolean true | ||
lxd lxd/bridge-name string lxdbr0 | ||
lxd lxd/bridge-empty-error note | ||
# lxcbr0 is being replaced by lxdbr0 | ||
lxd lxd/bridge-upgrade-warning note | ||
lxd lxd/bridge-ipv6-nat boolean false | ||
lxd lxd/bridge-random-warning note | ||
lxd lxd/bridge-domain string lxd | ||
lxd lxd/bridge-dnsmasq string | ||
lxd lxd/bridge-http-proxy boolean false | ||
lxd lxd/bridge-ipv4-nat boolean true | ||
lxd lxd/bridge-ipv4-dhcp-last string 10.224.136.254 | ||
lxd lxd/bridge-ipv4-dhcp-first string 10.224.136.2 |