Skip to content

Commit

Permalink
Issue #3637: Revert usage of hostfqdn.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaerter committed Aug 1, 2024
1 parent ac9aa72 commit 80f5b71
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions bin/docker/quick_setup.pl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ =head1 OPTIONS

# core modules
use Getopt::Long qw(GetOptions);
use Net::Domain qw(hostfqdn);
use Pod::Usage qw(pod2usage);
use Sub::Util qw(subname);

Expand All @@ -132,16 +131,16 @@ =head1 OPTIONS
use Kernel::System::ObjectManager ();

sub Main {
my $HelpFlag; # print help
my $DBPassword; # required
my $HTTPPort = 80; # only used for success message
my $ActivateElasticsearch = 0; # must be explicitly enabled
my $AddUser = 0; # must be explicitly enabled
my $AddAdminUser = 0; # must be explicitly enabled
my $AddCustomerUser = 0; # must be explicitly enabled
my $AddCalendar = 0; # must be explicitly enabled
my $HttpType = 'https'; # the SysConfig setting HttpType
my $FQDN = hostfqdn(); # the SysConfig setting FQDN
my $HelpFlag; # print help
my $DBPassword; # required
my $HTTPPort = 80; # only used for success message
my $ActivateElasticsearch = 0; # must be explicitly enabled
my $AddUser = 0; # must be explicitly enabled
my $AddAdminUser = 0; # must be explicitly enabled
my $AddCustomerUser = 0; # must be explicitly enabled
my $AddCalendar = 0; # must be explicitly enabled
my $HttpType = 'https'; # the SysConfig setting HttpType
my $FQDN = 'your.exmaple.com'; # the SysConfig setting FQDN

GetOptions(
'help' => \$HelpFlag,
Expand Down

0 comments on commit 80f5b71

Please sign in to comment.