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