fix cloud-init breaking snappy networking on boot (LP: #1563296)

This commit is contained in:
Oliver Grawert 2016-04-01 16:34:02 +02:00
parent 5217c9e7fa
commit 24d78ecf5f
2 changed files with 16 additions and 0 deletions

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
livecd-rootfs (2.395) UNRELEASED; urgency=medium
* create /etc/cloud/cloud.cfg.d/99-snappy-disable-network-config.cfg on
snappy so we do not end up with broken network config after cloud-init
ran (LP: #1563296).
-- Oliver Grawert <ogra@ubuntu.com> Fri, 01 Apr 2016 16:31:50 +0200
livecd-rootfs (2.394) xenial; urgency=medium
[ Xavi Garcia ]

View File

@ -0,0 +1,8 @@
#!/bin/sh -x
[ -d /etc/cloud/cloud.cfg.d ] || mkdir -p /etc/cloud/cloud.cfg.d
cat >> /etc/cloud/cloud.cfg.d/99-snappy-disable-network-config.cfg <<EOF
network:
config: disabled
EOF