~ubuntu-branches/debian/sid/waagent/sid

« back to all changes in this revision

Viewing changes to debian/patches/provisioning-handler-ubuntu.patch

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2016-02-01 13:11:28 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20160201131128-4wxc2tklmq3x40xe
Tags: 2.1.2-1
* New upstream version.
* Depend on host, needed by Microsofts custom script stuff.
* Use cloud-init:
  - Use Ubuntu provisioning handler, disable provisioning.
  - Depend on new enough version of cloud-init.
  - Update dependencies in init script and service.
  - Disable recursive agent invocation and hostname bounce in clout-init.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From cd0653301401e6e0c7e5e564b0a487b947d24efc Mon Sep 17 00:00:00 2001
 
2
From: Bastian Blank <bastian.blank@credativ.de>
 
3
Date: Mon, 1 Feb 2016 09:47:13 +0100
 
4
Subject: Use Ubuntu provisioning handler
 
5
 
 
6
This handler waits for cloud-init.
 
7
 
 
8
Patch-Name: provisioning-handler-ubuntu.patch
 
9
---
 
10
 azurelinuxagent/distro/debian/loader.py | 4 ++++
 
11
 1 file changed, 4 insertions(+)
 
12
 
 
13
diff --git a/azurelinuxagent/distro/debian/loader.py b/azurelinuxagent/distro/debian/loader.py
 
14
index cc0c06f..19254e5 100644
 
15
--- a/azurelinuxagent/distro/debian/loader.py
 
16
+++ b/azurelinuxagent/distro/debian/loader.py
 
17
@@ -22,3 +22,7 @@ def get_osutil():
 
18
     from azurelinuxagent.distro.debian.osutil import DebianOSUtil
 
19
     return DebianOSUtil()
 
20
 
 
21
+
 
22
+def get_handlers():
 
23
+    from azurelinuxagent.distro.ubuntu.handlerFactory import UbuntuHandlerFactory
 
24
+    return UbuntuHandlerFactory()