Order cloud-init-local before NetworkManager

https://git.launchpad.net/cloud-init/commit/?id=1b71b47
This commit is contained in:
Garrett Holmstrom 2016-09-29 18:19:32 -07:00
parent 1bd98b8ce6
commit 6565dcf95d
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Index: cloud-init-0.7.8/systemd/cloud-init-local.service
===================================================================
--- cloud-init-0.7.8.orig/systemd/cloud-init-local.service
+++ cloud-init-0.7.8/systemd/cloud-init-local.service
@@ -5,6 +5,7 @@ Wants=local-fs.target
Wants=network-pre.target
After=local-fs.target
Conflicts=shutdown.target
+Before=NetworkManager.target
Before=network-pre.target
Before=shutdown.target

View File

@ -36,6 +36,10 @@ Patch7: cloud-init-0.7.8-dnf.patch
# https://bugs.launchpad.net/cloud-init/+bug/1629149
Patch8: cloud-init-0.7.8-apt-dns-test.patch
# Ensure cloud-init-local runs before NetworkManager
# https://git.launchpad.net/cloud-init/commit/?id=1b71b47
Patch9: cloud-init-0.7.8-before-nm.patch
BuildArch: noarch
BuildRequires: pkgconfig
@ -178,6 +182,7 @@ rm -rf $RPM_BUILD_ROOT
* Thu Sep 29 2016 Garrett Holmstrom <gholms@fedoraproject.org> - 0.7.8-1
- Updated to 0.7.8
- Dropped run-parts dependency [RH:1355917]
- Ordered cloud-init-local before NetworkManager
* Tue Aug 30 2016 Garrett Holmstrom <gholms@fedoraproject.org> - 0.7.7-1
- Updated to 0.7.7