Tips
一発インストールです。
nginx
#cloud-config
package_upgrade: true
packages:
- nginx
write_files:
- owner: azureuser:azureuser
path: /var/www/html/index.html
content: |
DEMO VM
runcmd:
- service nginx restart
Apache
#cloud-config
package_upgrade: true
packages:
- apache2
write_files:
- owner: azureuser:azureuser
path: /var/www/html/index.html
content: |
DEMO VM
runcmd:
- service apache2 restart