Skip to content

Commit

Permalink
AWS machine module - use 'mount --all' to mount '/etc/fstab' entries
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-bar committed Nov 16, 2023
1 parent a7d56ab commit 3bcaffc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ do
printf "%s\n" "Warning: Will be mounted by UUID in /etc/fstab"
UUID=$(sudo blkid ${TARGET_NVME_DEVICE} -o export | grep -E "^UUID=")
printf "%s\n" "${UUID} ${MOUNT_POINT} ${FSTYPE} ${FSMOUNTOPT} 0 0" | sudo tee -a /etc/fstab
eval "sudo mount -t ${FSTYPE} ${FSMOUNTOPT_ARG} ${TARGET_NVME_DEVICE} ${MOUNT_POINT}"
sudo mount --all
fi

done

0 comments on commit 3bcaffc

Please sign in to comment.