Skip to content

Commit

Permalink
Maybe show IP address at end of install
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Jun 19, 2018
1 parent 5fcf94c commit b48c733
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -926,14 +926,15 @@ fi
echo
if [ $errors -eq "0" ]; then
hostname=$(hostname -f)
detect_ip
log_success "Installation Complete!"
log_success "If there were no errors above, Virtualmin should be ready"
log_success "to configure at https://$hostname:10000."
log_success "to configure at https://${hostname}:10000 (or https://${address}:10000."
log_success "You'll receive a security warning in your browser on your first visit."
else
log_warning "The following errors occurred during installation:"
echo
printf "$errorlist"
printf "${errorlist}"
log_warning "The last few lines of the log file were:"
tail -15 $RUN_LOG
fi
Expand Down

0 comments on commit b48c733

Please sign in to comment.