mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-22 04:15:50 +02:00
Refactor admin credentials output to use heredoc
This commit is contained in:
@@ -130,12 +130,12 @@ if [[ -z "$ADMIN_PASS" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
RAILS_ENV=production $STD bundle exec bin/tootctl settings registrations approved
|
RAILS_ENV=production $STD bundle exec bin/tootctl settings registrations approved
|
||||||
{
|
cat <<EOF > ~/mastodon.creds
|
||||||
echo "Mastodon Admin Credentials"
|
Mastodon Admin Credentials
|
||||||
echo "URL: http://${LOCAL_IP}"
|
URL: http://${LOCAL_IP}
|
||||||
echo "Email: admin@${LOCAL_IP}"
|
Email: admin@${LOCAL_IP}
|
||||||
echo "Password: ${ADMIN_PASS}"
|
Password: ${ADMIN_PASS}
|
||||||
} >~/mastodon.creds
|
EOF
|
||||||
msg_ok "Created Admin Account"
|
msg_ok "Created Admin Account"
|
||||||
|
|
||||||
msg_info "Creating Services"
|
msg_info "Creating Services"
|
||||||
|
|||||||
Reference in New Issue
Block a user