Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use the OpenStack volume ID to find the appropriate block device when labeling filesystem volumes.
Previously labeling relied on the ordering in
/dev
matching the order of the block device definitions in the terraform instance resource. This was the case for RockyLinux 8.8 images but does not appear to be the case for RockyLinux 8.9 images.Notes:
cloud-init's
runcmd
happens after mounts, sobootcmd
must be used to create filesystems.mount
module's defaults, except thatnofail
is not specified to avoid hard-to-diagnose problems and the home volume mount declares it is required by the NFS server.hw_disk_bus='scsi'
andhw_scsi_model='virtio-scsi'
properties set, entries in/dev/disk-by-id
contain the full openstack volume ID (plus a prefix). Without these properties, the entries only contain the first 20 characters of the openstack volume ID.Fixes #327
TODO: