Skip to content

Instantly share code, notes, and snippets.

@szkkentaro
Created February 17, 2015 19:46
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 szkkentaro/fdbbacd02d5e38ab5605 to your computer and use it in GitHub Desktop.
Save szkkentaro/fdbbacd02d5e38ab5605 to your computer and use it in GitHub Desktop.
User-data for minimum initialize
#cloud-config
write_files:
- content: |
repo_update: true
repo_upgrade: none
locale: ja_JP.UTF-8
timezone: Asia/Tokyo
owner: root:root
path: /etc/cloud/cloud.cfg.d/99_mysettings.cfg
permissions: '0644'
runcmd:
- yum update -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment