Skip to content

Instantly share code, notes, and snippets.

@christi3k
Created November 19, 2016 04:13
Show Gist options
  • Save christi3k/23964789cb1cd59eeeb67aeda1e0ed4c to your computer and use it in GitHub Desktop.
Save christi3k/23964789cb1cd59eeeb67aeda1e0ed4c to your computer and use it in GitHub Desktop.
#cloud-config
users:
- name: zulipdev
ssh_authorized_keys:
- <PUBLIC SSH KEY>
runcmd:
- su -c 'cd /home/zulipdev/zulip && git remote add origin https://github.com/<USERNAME>/zulip.git && git fetch origin' zulipdev
power_state:
mode: reboot
condition: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment