3
0
mirror of https://git.launchpad.net/livecd-rootfs synced 2025-03-25 18:01:17 +00:00

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

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
debian
live-build/ubuntu-core/hooks

8
debian/changelog vendored

@ -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 ]

@ -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