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