Ubuntu 17.10 support (#811)

This commit is contained in:
Jack Ivanov 2018-02-24 16:17:34 +03:00 committed by Dan Guido
parent d8f0393dd8
commit 4da752b603
3 changed files with 19 additions and 2 deletions

View file

@ -31,7 +31,7 @@ before_cache:
env:
- LXC_NAME=ubuntu1604 LXC_DISTRO=ubuntu LXC_RELEASE=xenial
# - LXC_NAME=ubuntu1710 LXC_DISTRO=ubuntu LXC_RELEASE=artful
- LXC_NAME=ubuntu1710 LXC_DISTRO=ubuntu LXC_RELEASE=artful
install:
- sudo tar xf $HOME/lxc/cache.tar -C / || echo "Didn't extract cache."

View file

@ -77,7 +77,7 @@ cloud_providers:
version: latest
digitalocean:
size: s-1vcpu-1gb
image: "ubuntu-16-04-x64" # ubuntu-16-04-x64 / ubuntu-17-04-x64
image: "ubuntu-16-04-x64" # ubuntu-16-04-x64 / ubuntu-17-10-x64
ec2:
size: t2.micro
image:

View file

@ -44,6 +44,23 @@
tags:
- cloud
- name: Install system specific tools
package: name="{{ item }}" state=present
with_items:
- ifupdown
tags:
- always
- name: Ensure the interfaces directory exists
file:
path: /etc/network/interfaces.d/
state: directory
mode: 0755
owner: root
group: root
tags:
- always
- name: Loopback for services configured
template: src=10-loopback-services.cfg.j2 dest=/etc/network/interfaces.d/10-loopback-services.cfg
notify: