Add issue script

This commit is contained in:
VirtuBox
2019-08-27 22:49:54 +02:00
parent 446ab8d7c7
commit b504842550
2 changed files with 27 additions and 1 deletions

26
tests/issue.sh Normal file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
# -------------------------------------------------------------------------
# WordOps support script
# -------------------------------------------------------------------------
# Website: https://wordops.net
# GitHub: https://github.com/WordOps/WordOps
# Copyright (c) 2019 - WordOps
# This script is licensed under M.I.T
# -------------------------------------------------------------------------
# wget -qO wo wops.cc && sudo bash wo
# -------------------------------------------------------------------------
# Version 3.9.8.4 - 2019-08-28
# -------------------------------------------------------------------------
if [ -f /var/log/wo/wordops.log ]; then
cd /var/log/wo/ || exit 1
if {
tar -I pigz -cf wordops.tar.gz wordops.log
}; then
wo_link=$(curl -sL --upload-file wordops.tar.gz https://transfer.sh/wordops.tar.gz)
echo
echo "Here the link to provide in your github issue : $wo_link"
echo
fi
cd || exit 1
fi

View File

@@ -755,7 +755,7 @@ class WOSiteCreateController(CementBaseController):
if data['wp'] and (not pargs.vhostonly):
Log.info(self, Log.ENDC + "WordPress admin user :"
" {0}".format(wo_wp_creds['wp_user']), log=False)
Log.info(self, Log.ENDC + "WordPress admin user password : {0}"
Log.info(self, Log.ENDC + "WordPress admin password : {0}"
.format(wo_wp_creds['wp_pass']), log=False)
display_cache_settings(self, data)