Skip to content

Instantly share code, notes, and snippets.

@udhos
Last active February 20, 2019 15:37
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 udhos/ffcedde72f81ed5a17787d52714128f1 to your computer and use it in GitHub Desktop.
Save udhos/ffcedde72f81ed5a17787d52714128f1 to your computer and use it in GitHub Desktop.
ec2_userdata_cloud-boothook
https://docs.aws.amazon.com/pt_br/AWSEC2/latest/UserGuide/amazon-linux-ami-basics.html
Script de dados do usuário: Começa com #! ou Content-Type: text/x-shellscript.
Ou seja, basta:
#!/bin/bash
systemctl stop spotbq
systemctl disable spotbq
Mas poderia ser:
#cloud-boothook
systemctl stop spotbq
systemctl disable spotbq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment