From 45b6a3c8c1e674bdc2f169388e006578efbc8941 Mon Sep 17 00:00:00 2001 From: Timo Kramer <4785848+TimoKramer@users.noreply.github.com> Date: Thu, 4 Jan 2024 15:49:53 +0100 Subject: [PATCH] Update azure.md --- content/docs/latest/installing/cloud/azure.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/docs/latest/installing/cloud/azure.md b/content/docs/latest/installing/cloud/azure.md index f2909660..36243be0 100644 --- a/content/docs/latest/installing/cloud/azure.md +++ b/content/docs/latest/installing/cloud/azure.md @@ -640,7 +640,7 @@ systemd: enabled: true contents: | [Unit] - Description="Partition disk" + Description="Partition drive" Before=docker.service ConditionFirstBoot=yes [Service] @@ -663,6 +663,8 @@ storage: disk_device="/dev/disk/azure/scsi1/lun10" partition="/dev/disk/azure/scsi1/lun10-part1" + until [[ -e $disk_device ]]; do echo "Waiting for device" && sleep 1; done + if [[ -n $(lsblk -no NAME $disk_device | sed -n '2,$p') ]]; then echo "Disk $disk_device is partitioned." else