summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorBen Howard <ben.howard@ubuntu.com>2015-04-15 10:59:38 -0600
committerusd-importer <ubuntu-server@lists.ubuntu.com>2015-04-15 21:53:50 +0000
commit5af8d1f80caf5d49988dbb0cf95ad7c58250b90f (patch)
treebe99c506192b5220648246dbacf6485bc2ecb42f /debian/patches
parentc40af8b3fec1b840776ca36d64b1857ed2bdd95b (diff)
downloadvyos-walinuxagent-5af8d1f80caf5d49988dbb0cf95ad7c58250b90f.tar.gz
vyos-walinuxagent-5af8d1f80caf5d49988dbb0cf95ad7c58250b90f.zip
Import patches-unapplied version 2.0.12-0ubuntu2 to ubuntu/vivid-proposed
Imported using git-ubuntu import. Changelog parent: c40af8b3fec1b840776ca36d64b1857ed2bdd95b New changelog entries: * Fixed systemd unit file which caused SharedConfig.xml to be deleted by Cloud-init (LP: #1444086).
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/fix-waagent-service.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/patches/fix-waagent-service.patch b/debian/patches/fix-waagent-service.patch
index a44cd75..b00ccb0 100644
--- a/debian/patches/fix-waagent-service.patch
+++ b/debian/patches/fix-waagent-service.patch
@@ -16,13 +16,14 @@
-WantedBy=multi-user.target
--- /dev/null
+++ b/distro/systemd/walinuxagent.service
-@@ -0,0 +1,13 @@
+@@ -0,0 +1,14 @@
+[Unit]
+Description=Windows Azure Linux Agent
-+After=network.target
-+Wants=sshd.service sshd-keygen.service
++After=network-online.target cloud-final.service
++Wants=network-online.target sshd.service sshd-keygen.service cloud-final.service
+ConditionFileIsExecutable=/usr/sbin/waagent
+ConditionPathExists=/etc/waagent.conf
++ConditionVirtualization=microsoft
+
+[Service]
+Type=simple