This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('Loading function'); | |
const https = require('https'); | |
const url = require('url'); | |
// to get the slack hook url, go into slack admin and create a new "Incoming Webhook" integration | |
const slack_url = 'https://hooks.slack.com/services/...'; | |
const slack_req_opts = url.parse(slack_url); | |
slack_req_opts.method = 'POST'; | |
slack_req_opts.headers = {'Content-Type': 'application/json'}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Based on : http://manageiq.org/community/install-from-source/ | |
#Launch a CentOS AMI from AWS (ami-8997afe0), m3.large, 20GB root mount | |
#Update the VM | |
yum update -y | |
yum install -y wget vim telnet git | |
service iptables stop | |
#Create User | |
useradd miqbuilder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Based on : http://manageiq.org/community/install-from-source/ | |
#Launch a CentOS AMI from AWS (ami-8997afe0), m3.large, 20GB root mount | |
#Update the VM | |
yum update -y | |
yum install -y wget vim telnet git | |
service iptables stop | |
#Create User | |
useradd miqbuilder |