222d62
From 764159f648256d3e00aa2e78d2734a6fc89db9ef Mon Sep 17 00:00:00 2001
222d62
From: Eduardo Otubo <otubo@redhat.com>
222d62
Date: Fri, 5 Oct 2018 09:53:00 +0200
222d62
Subject: [PATCH 1/4] Adding systemd mount options to wait for cloud-init
222d62
222d62
RH-Author: Eduardo Otubo <otubo@redhat.com>
222d62
Message-id: <20181005095303.20597-2-otubo@redhat.com>
222d62
Patchwork-id: 82384
222d62
O-Subject: [RHEL-8.0 cloud-init PATCH 1/4] Adding systemd mount options to wait for cloud-init
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
This patch adds systemd mount options to wait for cloud-init. On Azure,
222d62
cloud-init needs to format ephemeral disk before we are able to mount
222d62
it.
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 | 2 +-
222d62
 1 file changed, 1 insertion(+), 1 deletion(-)
222d62
222d62
diff --git a/rhel/cloud.cfg b/rhel/cloud.cfg
222d62
index 8644872..bb6bc4d 100644
222d62
--- a/rhel/cloud.cfg
222d62
+++ b/rhel/cloud.cfg
222d62
@@ -4,7 +4,7 @@ users:
222d62
 disable_root: 1
222d62
 ssh_pwauth:   0
222d62
 
222d62
-mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2']
222d62
+mount_default_fields: [~, ~, 'auto', 'defaults,nofail,x-systemd.requires=cloud-init.service', '0', '2']
222d62
 resize_rootfs_tmp: /dev
222d62
 ssh_deletekeys:   0
222d62
 ssh_genkeytypes:  ~
222d62
-- 
222d62
1.8.3.1
222d62