Skip to content

Instantly share code, notes, and snippets.

@igalic
Created September 11, 2020 18:16
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 igalic/873c7dbaaa0aa61e91afeea08921b8ef to your computer and use it in GitHub Desktop.
Save igalic/873c7dbaaa0aa61e91afeea08921b8ef to your computer and use it in GitHub Desktop.
OpenNebula
CONTEXT=[
SSH_KEY="$USER[SSH_KEY]
$USER[SSH_KEY1]
$USER[SSH_KEY2]",
PUBLIC_IP="$NIC[IP]",
USER_DATA="#cloud-config
# see https://help.ubuntu.com/community/CloudInit
packages: []
mounts:
- [vdc,none,swap,sw,0,0]
runcmd:
- echo 'Instance has been configured by cloud-init.' | wall
" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment