From e81fdb7319c88e3cfce654bc37acb231e7259042 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Mon, 3 Oct 2016 12:20:45 -0400 Subject: cherry pick 6d1edc3f5a1 add 6d1edc3f5a1 to debian/patches/ntp-move-to-run-after-apt-configuration.patch LP: #1628337 --- .../ntp-move-to-run-after-apt-configuration.patch | 30 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 31 insertions(+) create mode 100644 debian/patches/ntp-move-to-run-after-apt-configuration.patch (limited to 'debian') diff --git a/debian/patches/ntp-move-to-run-after-apt-configuration.patch b/debian/patches/ntp-move-to-run-after-apt-configuration.patch new file mode 100644 index 00000000..e25bc014 --- /dev/null +++ b/debian/patches/ntp-move-to-run-after-apt-configuration.patch @@ -0,0 +1,30 @@ +From 6d1edc3f5a18b328bdd307426056539d5b9071fd Mon Sep 17 00:00:00 2001 +From: Scott Moser +Date: Wed, 28 Sep 2016 12:07:26 -0400 +Subject: [PATCH] ntp: move to run after apt configuration + +since ntp module may try to install packages, it needs to run after +apt is configured. + +LP: #1628337 +--- + config/cloud.cfg | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/config/cloud.cfg ++++ b/config/cloud.cfg +@@ -45,13 +45,13 @@ cloud_config_modules: + - emit_upstart + - disk_setup + - mounts +- - ntp + - ssh-import-id + - locale + - set-passwords + - grub-dpkg + - apt-pipelining + - apt-configure ++ - ntp + - timezone + - disable-ec2-metadata + - runcmd diff --git a/debian/patches/series b/debian/patches/series index c486f303..c93c18ac 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ ipv6-config +ntp-move-to-run-after-apt-configuration.patch -- cgit v1.2.3