ca58b3
From c533a99fd7e3f78027c74a889e931604c222db0f Mon Sep 17 00:00:00 2001
ca58b3
From: Eduardo Otubo <otubo@redhat.com>
ca58b3
Date: Wed, 26 Sep 2018 13:57:39 +0200
ca58b3
Subject: [PATCH 1/4] Adding systemd mount options to wait for cloud-init
ca58b3
ca58b3
RH-Author: Eduardo Otubo <otubo@redhat.com>
ca58b3
Message-id: <20180926135742.11140-2-otubo@redhat.com>
ca58b3
Patchwork-id: 82297
ca58b3
O-Subject: [RHEL-7.6 cloud-init PATCHv2 1/4] Adding systemd mount options to wait for cloud-init
ca58b3
Bugzilla: 1560415
ca58b3
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
ca58b3
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
ca58b3
ca58b3
This patch adds systemd mount options to wait for cloud-init. On Azure,
ca58b3
cloud-init needs to format ephemeral disk before we are able to mount
ca58b3
it.
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 | 2 +-
ca58b3
 1 file changed, 1 insertion(+), 1 deletion(-)
ca58b3
ca58b3
diff --git a/rhel/cloud.cfg b/rhel/cloud.cfg
ca58b3
index 8644872..bb6bc4d 100644
ca58b3
--- a/rhel/cloud.cfg
ca58b3
+++ b/rhel/cloud.cfg
ca58b3
@@ -4,7 +4,7 @@ users:
ca58b3
 disable_root: 1
ca58b3
 ssh_pwauth:   0
ca58b3
 
ca58b3
-mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2']
ca58b3
+mount_default_fields: [~, ~, 'auto', 'defaults,nofail,x-systemd.requires=cloud-init.service', '0', '2']
ca58b3
 resize_rootfs_tmp: /dev
ca58b3
 ssh_deletekeys:   0
ca58b3
 ssh_genkeytypes:  ~
ca58b3
-- 
ca58b3
1.8.3.1
ca58b3