Correct cloud-init.sh usage instructions for real provider UIs
IONOS's User Data field takes a Script Type choice (Cloud Config vs Shell Script) and runs the pasted/imported content directly rather than fetching a URL. Update the README to say so, add DEBIAN_FRONTEND=noninteractive for genuine unattended cloud-init execution.
This commit is contained in:
@@ -37,6 +37,7 @@ REPO_URL="https://github.com/outis1one/ubuntu-post-install.git"
|
||||
DEST="/root/ubuntu-post-install"
|
||||
MARKER="/root/.ubuntu-post-install-pending"
|
||||
HOOK="/etc/profile.d/99-ubuntu-post-install.sh"
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
command -v git >/dev/null 2>&1 || { apt-get update -qq && apt-get install -y git; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user