Skip to content

Commit

Permalink
fix: data mount sequence not targeting the good disk in infra
Browse files Browse the repository at this point in the history
  • Loading branch information
jpraynaud committed Jul 24, 2024
1 parent e5c3d54 commit c58f642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mithril-infra/main.data-disk.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ resource "null_resource" "mithril_mount_data_disk" {
<<-EOT
set -e
# Format data disk if necessary
if sudo blkid /dev/sdb; then
if sudo blkid /dev/disk/by-id/google-mithril-data-disk; then
echo "Data disk already formatted"
else
# Format data disk
Expand Down

0 comments on commit c58f642

Please sign in to comment.