Blob Blame History Raw
From 03378df71657bbeeb98d4167c490d2e6c2e17af1 Mon Sep 17 00:00:00 2001
From: Miroslav Rezanina <mrezanin@redhat.com>
Date: Wed, 8 Feb 2017 11:25:26 +0100
Subject: Disable auto update when upgrading

(cherry picked from commit d3f66f3aadf4c277a3b22182a0648d618e0fa2cb)
---
 azurelinuxagent/common/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/azurelinuxagent/common/conf.py b/azurelinuxagent/common/conf.py
index 5422784..b52769c 100644
--- a/azurelinuxagent/common/conf.py
+++ b/azurelinuxagent/common/conf.py
@@ -232,7 +232,7 @@ def get_autoupdate_gafamily(conf=__conf__):
 
 
 def get_autoupdate_enabled(conf=__conf__):
-    return conf.get_switch("AutoUpdate.Enabled", True)
+    return conf.get_switch("AutoUpdate.Enabled", False)
 
 
 def get_autoupdate_frequency(conf=__conf__):
-- 
1.8.3.1