1
0
forked from Proxmox/ProxmoxVE

Refactor admin credentials output to use heredoc

This commit is contained in:
Tobias
2026-07-26 18:57:16 +02:00
committed by GitHub
parent 6beceb2b8f
commit aeaa9ad96c
+6 -6
View File
@@ -130,12 +130,12 @@ if [[ -z "$ADMIN_PASS" ]]; then
exit 1
fi
RAILS_ENV=production $STD bundle exec bin/tootctl settings registrations approved
{
echo "Mastodon Admin Credentials"
echo "URL: http://${LOCAL_IP}"
echo "Email: admin@${LOCAL_IP}"
echo "Password: ${ADMIN_PASS}"
} >~/mastodon.creds
cat <<EOF > ~/mastodon.creds
Mastodon Admin Credentials
URL: http://${LOCAL_IP}
Email: admin@${LOCAL_IP}
Password: ${ADMIN_PASS}
EOF
msg_ok "Created Admin Account"
msg_info "Creating Services"