livecd-rootfs/live-build/ubuntu-core/hooks/09-disable-cloud-init-net-breaking.chroot
Oliver Grawert 3061756ecb Import patches-unapplied version 2.395 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: 93f2a06b3ca0f82ff93ab32997e4fd0473113745

New changelog entries:
  * 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).
2016-04-01 18:48:48 +00:00

9 lines
185 B
Bash
Executable File

#!/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