Skip to content

Commit eb9a350

Browse files
committed
fix: data mount sequence not targeting the good disk in infra
1 parent e105985 commit eb9a350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mithril-infra/main.data-disk.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ resource "null_resource" "mithril_mount_data_disk" {
7070
<<-EOT
7171
set -e
7272
# Format data disk if necessary
73-
if sudo blkid /dev/sdb; then
73+
if sudo blkid /dev/disk/by-id/google-mithril-data-disk; then
7474
echo "Data disk already formatted"
7575
else
7676
# Format data disk

0 commit comments

Comments
 (0)