Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgarstang/8352ad8c51d834fbf3f282eb300d83d7 to your computer and use it in GitHub Desktop.
Save dgarstang/8352ad8c51d834fbf3f282eb300d83d7 to your computer and use it in GitHub Desktop.
#cloud-config
bootcmd:
- setenforce 0
fs_setup:
- label: redis_data
filesystem: 'ext4'
partition: 'auto'
overwrite: True
device: '/dev/xvdj'
mounts:
- [ xvdj0, /redis_data, "auto", "defaults,nofail", "0", "0" ]
runcmd:
- [ /opt/bin/sw-set_hostname, redis ]
- [ /opt/bin/sw-tag_instance, redis ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment