Skip to content

Instantly share code, notes, and snippets.

View uzyexe's full-sized avatar
🏠
Working from home

Shuji Yamada uzyexe

🏠
Working from home
  • Periplous / SAKURA internet
  • Asia/Tokyo
  • X @uzyexe
View GitHub Profile
@uzyexe
uzyexe / logentires-cloud-config.yml
Last active August 29, 2015 14:02
cloud-config.yml: Sending your CoreOS data to Logentries
coreos:
units:
- name: logentries.service
command: start
content: |
[Unit]
Description=logentires.service
[Service]
Environment=ACCESS_TOKEN=YOUR_LOGENTRIES_ACCESS_TOKEN
coreos:
units:
- name: newrelic.service
command: start
content: |
[Unit]
Description=newrelic
Requires=docker.service
After=docker.service
@uzyexe
uzyexe / kickstart-for-pxeboot-coreos
Last active January 16, 2018 01:57
Kickstart default PXElinux for coreos
default coreos
prompt 1
timeout 15
display boot.msg
label coreos
menu default
kernel http://<your_server_name>/coreos_production_pxe.vmlinuz
append initrd=http://<your_server_name>/coreos_production_pxe_image.cpio.gz cloud-config-url=http://<your_server_name>/cloud-config.yml
coreos:
units:
- name: docker.service
command: restart
content: |
[Unit]
Description=Docker Application Container Engine
Documentation=http://docs.docker.io
[Service]