I want to provision an Azure VM with Terraform and configure it by using a custom AMI created by Packer.
I want an attached, snapshotted, managed data-disk.
I want to use Oracle Linux 7.4
What is the best way of
- Ensuring the data-disk is mounted on startup
- Ensuring that the data-disk is formatted before I attempt to mount it, perhaps formatting it on startup
It's likely I'll be bringing up a cluster of identical machines each with attached data-disks, so ssh-ing in after the fact is not feasible.