sailesh1993 / rpms / cloud-init

Forked from rpms/cloud-init 10 months ago
Clone
Blob Blame History Raw
From da4d99e4d4c9b0a6992378009a402d510d99010d Mon Sep 17 00:00:00 2001
From: Eduardo Otubo <otubo@redhat.com>
Date: Fri, 5 Oct 2018 09:53:03 +0200
Subject: [PATCH 4/4] Adding disk_setup to rhel/cloud.cfg

RH-Author: Eduardo Otubo <otubo@redhat.com>
Message-id: <20181005095303.20597-5-otubo@redhat.com>
Patchwork-id: 82387
O-Subject: [RHEL-8.0 cloud-init PATCH 4/4] Adding disk_setup to rhel/cloud.cfg
Bugzilla: 1615599
RH-Acked-by: Cathy Avery <cavery@redhat.com>
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>

When Azure VM is de-allocated and started again its resource disk
needs to be re-partitioned and a RHEL supported filesystem needs to be
created on top. Include disk_setup module in the default RHEL config
which does the job.

X-downstream-only: yes
Resolves: rhbz#1615599

Signed-off-by: Eduardo Otubo <otubo@redhat.com>
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 rhel/cloud.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rhel/cloud.cfg b/rhel/cloud.cfg
index bb6bc4d..4a73981 100644
--- a/rhel/cloud.cfg
+++ b/rhel/cloud.cfg
@@ -11,6 +11,7 @@ ssh_genkeytypes:  ~
 syslog_fix_perms: ~
 
 cloud_init_modules:
+ - disk_setup
  - migrator
  - bootcmd
  - write-files
-- 
1.8.3.1