Skip to content

Instantly share code, notes, and snippets.

View ForbiddenEra's full-sized avatar
🐱
meow

Forbidden Era ForbiddenEra

🐱
meow
View GitHub Profile
### Keybase proof
I hereby claim:
* I am forbiddenera on github.
* I am forbiddenera (https://keybase.io/forbiddenera) on keybase.
* I have a public key ASDFItgkUpJ-cw8YLud1tZoTh8Myoh8K0xYArgFiTdSulgo
To claim this, I am signing this object:
#cloud-config
ssh_authorized_keys:
- ssh-rsa YOUR-KEY-HERE
hostname: initializing
write_files:
- path: /etc/starship.conf
permissions: 0644
@ForbiddenEra
ForbiddenEra / whatimdoing.yaml
Last active November 2, 2017 10:57
my cloud-configz yo
#cloud-config
ssh_authorized_keys:
- ssh-rsa key
write_files:
- path: /opt/cloud-config.yml
permissions: 0644
content: |
#cloud-config
@ForbiddenEra
ForbiddenEra / gist:52c8280f68df8cadb553
Last active August 29, 2015 14:16
CoreOS swap auto-setup
# add this to your cloud config
# or a systemctl unit file on all nodes
# or as a fleetctl global unit (add [X-Fleet]\nglobal=true)
# will auto detect a nodes memory and create a swap file the same size, turn off CoW, mount a loopback device
# (actually, it touches the file first THEN disables COW!)
# fully dynamic and non-interfering, will find the first free loopback & unmount/delete on stop
- name: swap-auto.service
command: start
enabled: true
content:
@ForbiddenEra
ForbiddenEra / gist:6dc46c0b44fb2eacfe1d
Created March 4, 2015 07:06
ipxe commands/script
#!ipxe
set base-url http://alpha.release.core-os.net/amd64-usr/current
kernel ${base-url}/coreos_production_pxe.vmlinuz sshkey="ssh-rsa key" cloud-config-url=http://yoursite.com/coreos/cloud-config-bootstrap.sh
initrd ${base-url}/coreos_production_pxe_image.cpio.gz
boot