Add issue script
This commit is contained in:
26
tests/issue.sh
Normal file
26
tests/issue.sh
Normal 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
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user