Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#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