Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update echo msg and filename to reflect port 8443 when using hoot_centos7_rpm vm #5606

Merged
merged 1 commit into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions VagrantProvisionCentOS7Rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ hoot version
echo "### Enable SSL for Tomcat ###" | tee -a CentOS_install.txt
sudo $HOOT_HOME/scripts/tomcat/configure_tomcat_ssl.sh

echo "### Configure OAuth redirect url for port 8888 ###" | tee -a CentOS_install.txt
sudo $HOOT_HOME/scripts/tomcat/configure_oauth_8888.sh
echo "### Configure OAuth redirect url for port 8443 ###" | tee -a CentOS_install.txt
sudo $HOOT_HOME/scripts/tomcat/configure_oauth_8443.sh


echo "See VAGRANT.md for additional configuration instructions and then run 'vagrant ssh' to log into the Hootenanny virtual machine."
echo "See $HOOT_HOME/docs on the virtual machine for Hootenanny documentation files."
echo "If the webApp is installed, it is at http://localhost:8888/hootenanny-id"
echo "If the webApp is installed, it is at http://localhost:8443/hootenanny-id"

##########################################
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

# Configure OAuth2 redirect for port 8888
# Configure OAuth2 redirect for port 8443
sudo sed -i "\|https://localhost:8080/login.html|s|^|# |" /var/lib/tomcat8/webapps/hoot-services/WEB-INF/classes/oauth2-client.properties
sudo sed -i "\|https://localhost:8443/hootenanny-id/login.html|s|^# ||" /var/lib/tomcat8/webapps/hoot-services/WEB-INF/classes/oauth2-client.properties
sudo systemctl restart tomcat8
4 changes: 2 additions & 2 deletions scripts/yum/update-hoot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ sudo yum makecache -y
sudo yum update hootenanny-autostart -y
echo "### Done ###"

echo "### Configure OAuth redirect url for port 8888 ###"
sudo $HOOT_HOME/scripts/tomcat/configure_oauth_8888.sh
echo "### Configure OAuth redirect url for port 8443 ###"
sudo $HOOT_HOME/scripts/tomcat/configure_oauth_8443.sh

# Sanity check
hoot version