#!/bin/bash # Setup logging logfile="/home/${admin_username}/custom-data.log" exec > $logfile 2>&1 python3 -V sudo apt update sudo apt install -y python3-pip python3-flask python3 -m flask --version sudo cat << EOF > /home/${admin_username}/hello.py from flask import Flask import requests app = Flask(__name__) import requests @app.route('/') def hello_world(): return """