Blame SOURCES/wala-Update-Provisioning-options-1853.patch

b7f0e7
From 51dcc3b2ba972db7b30c75097919b3e4ab396a89 Mon Sep 17 00:00:00 2001
b7f0e7
From: Vitaly Kuznetsov <vkuznets@redhat.com>
b7f0e7
Date: Tue, 28 Apr 2020 10:00:11 +0200
b7f0e7
Subject: [PATCH] Update 'Provisioning' options (#1853)
b7f0e7
MIME-Version: 1.0
b7f0e7
Content-Type: text/plain; charset=UTF-8
b7f0e7
Content-Transfer-Encoding: 8bit
b7f0e7
b7f0e7
RH-Author: Vitaly Kuznetsov <vkuznets@redhat.com>
b7f0e7
Message-id: <20200427083047.1269733-1-vkuznets@redhat.com>
b7f0e7
Patchwork-id: 96138
b7f0e7
O-Subject: [RHEL-8.2.1 WALinuxAgent PATCH] Update 'Provisioning' options (#1853)
b7f0e7
Bugzilla: 1822882
b7f0e7
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
b7f0e7
RH-Acked-by: Cathy Avery <cavery@redhat.com>
b7f0e7
RH-Acked-by: Mohammed Gamal <mgamal@redhat.com>
b7f0e7
b7f0e7
commit 92b652e031dd01027113702df7ee93c816bfd1aa
b7f0e7
Author: Vitaly Kuznetsov <vitty@redhat.com>
b7f0e7
Date:   Tue Apr 21 02:01:03 2020 +0200
b7f0e7
b7f0e7
    Update 'Provisioning' options (#1853)
b7f0e7
b7f0e7
    'Provisioning.Enabled' and 'Provisioning.UseCloudInit' parameters are
b7f0e7
    removed since v2.2.45 and replaced with 'Provisioning.Agent'. Update
b7f0e7
    distro specific configs accordingly.
b7f0e7
b7f0e7
    Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
b7f0e7
b7f0e7
    Co-authored-by: Vitaly Kuznetsov <vkuznets@redhat.com>
b7f0e7
b7f0e7
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
b7f0e7
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
b7f0e7
---
b7f0e7
 config/alpine/waagent.conf     | 8 +++-----
b7f0e7
 config/arch/waagent.conf       | 8 +++-----
b7f0e7
 config/bigip/waagent.conf      | 8 +++-----
b7f0e7
 config/clearlinux/waagent.conf | 8 +++-----
b7f0e7
 config/coreos/waagent.conf     | 8 +++-----
b7f0e7
 config/debian/waagent.conf     | 8 +++-----
b7f0e7
 config/freebsd/waagent.conf    | 8 +++-----
b7f0e7
 config/gaia/waagent.conf       | 8 +++-----
b7f0e7
 config/iosxe/waagent.conf      | 8 +++-----
b7f0e7
 config/nsbsd/waagent.conf      | 8 +++-----
b7f0e7
 config/openbsd/waagent.conf    | 8 +++-----
b7f0e7
 config/suse/waagent.conf       | 8 +++-----
b7f0e7
 config/ubuntu/waagent.conf     | 8 +++-----
b7f0e7
 config/waagent.conf            | 8 +++-----
b7f0e7
 14 files changed, 42 insertions(+), 70 deletions(-)
b7f0e7
b7f0e7
diff --git a/config/alpine/waagent.conf b/config/alpine/waagent.conf
b7f0e7
index ac9466e..2a010cf 100644
b7f0e7
--- a/config/alpine/waagent.conf
b7f0e7
+++ b/config/alpine/waagent.conf
b7f0e7
@@ -2,15 +2,13 @@
b7f0e7
 # Windows Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
 # Enable extension handling. Do not disable this unless you do not need password reset,
b7f0e7
 # backup, monitoring, or any extension handling whatsoever.
b7f0e7
 Extensions.Enabled=y
b7f0e7
 
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=y
b7f0e7
diff --git a/config/arch/waagent.conf b/config/arch/waagent.conf
b7f0e7
index 8d509cf..f999359 100644
b7f0e7
--- a/config/arch/waagent.conf
b7f0e7
+++ b/config/arch/waagent.conf
b7f0e7
@@ -2,11 +2,9 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=n
b7f0e7
diff --git a/config/bigip/waagent.conf b/config/bigip/waagent.conf
b7f0e7
index 7446bcb..49acf9d 100644
b7f0e7
--- a/config/bigip/waagent.conf
b7f0e7
+++ b/config/bigip/waagent.conf
b7f0e7
@@ -13,15 +13,13 @@ Role.ConfigurationConsumer=None
b7f0e7
 # Specified program is invoked with XML file argument specifying role topology.
b7f0e7
 Role.TopologyConsumer=None
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
 # Enable extension handling. Do not disable this unless you do not need password reset,
b7f0e7
 # backup, monitoring, or any extension handling whatsoever.
b7f0e7
 Extensions.Enabled=y
b7f0e7
 
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=y
b7f0e7
diff --git a/config/clearlinux/waagent.conf b/config/clearlinux/waagent.conf
b7f0e7
index 10567cc..0b70d26 100644
b7f0e7
--- a/config/clearlinux/waagent.conf
b7f0e7
+++ b/config/clearlinux/waagent.conf
b7f0e7
@@ -13,11 +13,9 @@ Role.ConfigurationConsumer=None
b7f0e7
 # Specified program is invoked with XML file argument specifying role topology.
b7f0e7
 Role.TopologyConsumer=None
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=y
b7f0e7
diff --git a/config/coreos/waagent.conf b/config/coreos/waagent.conf
b7f0e7
index 8d3312c..0ce7b27 100644
b7f0e7
--- a/config/coreos/waagent.conf
b7f0e7
+++ b/config/coreos/waagent.conf
b7f0e7
@@ -2,15 +2,13 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
 # Enable extension handling. Do not disable this unless you do not need password reset,
b7f0e7
 # backup, monitoring, or any extension handling whatsoever.
b7f0e7
 Extensions.Enabled=y
b7f0e7
 
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=n
b7f0e7
diff --git a/config/debian/waagent.conf b/config/debian/waagent.conf
b7f0e7
index 28e496e..4c1880e 100644
b7f0e7
--- a/config/debian/waagent.conf
b7f0e7
+++ b/config/debian/waagent.conf
b7f0e7
@@ -2,15 +2,13 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
 # Enable extension handling. Do not disable this unless you do not need password reset,
b7f0e7
 # backup, monitoring, or any extension handling whatsoever.
b7f0e7
 Extensions.Enabled=y
b7f0e7
 
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=y
b7f0e7
diff --git a/config/freebsd/waagent.conf b/config/freebsd/waagent.conf
b7f0e7
index 83988ae..1d1710b 100644
b7f0e7
--- a/config/freebsd/waagent.conf
b7f0e7
+++ b/config/freebsd/waagent.conf
b7f0e7
@@ -2,15 +2,13 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
 # Enable extension handling. Do not disable this unless you do not need password reset,
b7f0e7
 # backup, monitoring, or any extension handling whatsoever.
b7f0e7
 Extensions.Enabled=y
b7f0e7
 
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=y
b7f0e7
diff --git a/config/gaia/waagent.conf b/config/gaia/waagent.conf
b7f0e7
index 6992ff2..b1dc764 100644
b7f0e7
--- a/config/gaia/waagent.conf
b7f0e7
+++ b/config/gaia/waagent.conf
b7f0e7
@@ -2,15 +2,13 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
 # Enable extension handling. Do not disable this unless you do not need password reset,
b7f0e7
 # backup, monitoring, or any extension handling whatsoever.
b7f0e7
 Extensions.Enabled=y
b7f0e7
 
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=n
b7f0e7
diff --git a/config/iosxe/waagent.conf b/config/iosxe/waagent.conf
b7f0e7
index 6787d30..533a234 100644
b7f0e7
--- a/config/iosxe/waagent.conf
b7f0e7
+++ b/config/iosxe/waagent.conf
b7f0e7
@@ -2,11 +2,9 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=n
b7f0e7
-
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=y
b7f0e7
diff --git a/config/nsbsd/waagent.conf b/config/nsbsd/waagent.conf
b7f0e7
index 178f9a2..b859fd5 100644
b7f0e7
--- a/config/nsbsd/waagent.conf
b7f0e7
+++ b/config/nsbsd/waagent.conf
b7f0e7
@@ -2,11 +2,9 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=n
b7f0e7
diff --git a/config/openbsd/waagent.conf b/config/openbsd/waagent.conf
b7f0e7
index 54f2e11..697f129 100644
b7f0e7
--- a/config/openbsd/waagent.conf
b7f0e7
+++ b/config/openbsd/waagent.conf
b7f0e7
@@ -2,11 +2,9 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=y
b7f0e7
diff --git a/config/suse/waagent.conf b/config/suse/waagent.conf
b7f0e7
index 5e601e6..dc99b12 100644
b7f0e7
--- a/config/suse/waagent.conf
b7f0e7
+++ b/config/suse/waagent.conf
b7f0e7
@@ -2,15 +2,13 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
 # Enable extension handling. Do not disable this unless you do not need password reset,
b7f0e7
 # backup, monitoring, or any extension handling whatsoever.
b7f0e7
 Extensions.Enabled=y
b7f0e7
 
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=y
b7f0e7
diff --git a/config/ubuntu/waagent.conf b/config/ubuntu/waagent.conf
b7f0e7
index 759db70..8c2c512 100644
b7f0e7
--- a/config/ubuntu/waagent.conf
b7f0e7
+++ b/config/ubuntu/waagent.conf
b7f0e7
@@ -2,15 +2,13 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=n
b7f0e7
-
b7f0e7
 # Enable extension handling. Do not disable this unless you do not need password reset,
b7f0e7
 # backup, monitoring, or any extension handling whatsoever.
b7f0e7
 Extensions.Enabled=y
b7f0e7
 
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=y
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=y
b7f0e7
diff --git a/config/waagent.conf b/config/waagent.conf
b7f0e7
index 62a9441..b558bb4 100644
b7f0e7
--- a/config/waagent.conf
b7f0e7
+++ b/config/waagent.conf
b7f0e7
@@ -2,15 +2,13 @@
b7f0e7
 # Microsoft Azure Linux Agent Configuration
b7f0e7
 #
b7f0e7
 
b7f0e7
-# Enable instance creation
b7f0e7
-Provisioning.Enabled=y
b7f0e7
-
b7f0e7
 # Enable extension handling. Do not disable this unless you do not need password reset,
b7f0e7
 # backup, monitoring, or any extension handling whatsoever.
b7f0e7
 Extensions.Enabled=y
b7f0e7
 
b7f0e7
-# Rely on cloud-init to provision
b7f0e7
-Provisioning.UseCloudInit=n
b7f0e7
+# Which provisioning agent to use. Supported values are "auto" (default), "waagent",
b7f0e7
+# "cloud-init", or "disabled".
b7f0e7
+Provisioning.Agent=auto
b7f0e7
 
b7f0e7
 # Password authentication for root account will be unavailable.
b7f0e7
 Provisioning.DeleteRootPassword=y
b7f0e7
-- 
b7f0e7
1.8.3.1
b7f0e7