Skip to content

Instantly share code, notes, and snippets.

@detiber
Created November 18, 2016 15:27
Show Gist options
  • Save detiber/290c2c1c314b3acb37b382225ce78e12 to your computer and use it in GitHub Desktop.
Save detiber/290c2c1c314b3acb37b382225ce78e12 to your computer and use it in GitHub Desktop.
#cloud-config
mounts:
- [ xvdb ]
write_files:
- path: /etc/sysconfig/docker-storage-setup
owner: root:root
permissions: '0644'
content: |
DEVS='/dev/xvdb'
VG=docker_vg
- path: /etc/sudoers.d/99-ec2-user-cloud-init-requiretty
owner: root:root
permissions: '0440'
content: |
Defaults:ec2-user !requiretty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment