1
0
Fork 0
terraform-training/09_aws_vpc/userdata.sh

8 lines
142 B
Bash

#!/bin/bash
yum install -y httpd
service httpd start
chkconfig httpd on
echo "hello world" > /var/www/html/index.html
systemctl enable httpd