222d62
From da4d99e4d4c9b0a6992378009a402d510d99010d Mon Sep 17 00:00:00 2001
222d62
From: Eduardo Otubo <otubo@redhat.com>
222d62
Date: Fri, 5 Oct 2018 09:53:03 +0200
222d62
Subject: [PATCH 4/4] Adding disk_setup to rhel/cloud.cfg
222d62
222d62
RH-Author: Eduardo Otubo <otubo@redhat.com>
222d62
Message-id: <20181005095303.20597-5-otubo@redhat.com>
222d62
Patchwork-id: 82387
222d62
O-Subject: [RHEL-8.0 cloud-init PATCH 4/4] Adding disk_setup to rhel/cloud.cfg
222d62
Bugzilla: 1615599
222d62
RH-Acked-by: Cathy Avery <cavery@redhat.com>
222d62
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
222d62
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
222d62
222d62
When Azure VM is de-allocated and started again its resource disk
222d62
needs to be re-partitioned and a RHEL supported filesystem needs to be
222d62
created on top. Include disk_setup module in the default RHEL config
222d62
which does the job.
222d62
222d62
X-downstream-only: yes
222d62
Resolves: rhbz#1615599
222d62
222d62
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
222d62
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
222d62
---
222d62
 rhel/cloud.cfg | 1 +
222d62
 1 file changed, 1 insertion(+)
222d62
222d62
diff --git a/rhel/cloud.cfg b/rhel/cloud.cfg
222d62
index bb6bc4d..4a73981 100644
222d62
--- a/rhel/cloud.cfg
222d62
+++ b/rhel/cloud.cfg
222d62
@@ -11,6 +11,7 @@ ssh_genkeytypes:  ~
222d62
 syslog_fix_perms: ~
222d62
 
222d62
 cloud_init_modules:
222d62
+ - disk_setup
222d62
  - migrator
222d62
  - bootcmd
222d62
  - write-files
222d62
-- 
222d62
1.8.3.1
222d62