Skip to content

Instantly share code, notes, and snippets.

View brndnmtthws's full-sized avatar
🌈
Happy

Brenden Matthews brndnmtthws

🌈
Happy
View GitHub Profile
@brndnmtthws
brndnmtthws / aws_nvme-cloud-init.yml
Last active January 23, 2021 19:15 — forked from aussielunix/aws_nvme-cloud-init.yml
simple cloud-init for mounting an ephemeral nvme store in AWS. This is to be used as user-data.
#cloud-config
repo_update: true
repo_upgrade: all
package_upgrade: true
bootcmd:
- test -z "$(blkid /dev/nvme0n1)" && mkfs -t ext4 -L scratch /dev/nvme0n1
- mkdir -p /mnt/tmp
- mount /dev/nvme0n1 /mnt/tmp