Adapt conf to work with SMB access to WPKG repo

master
Daniel Berteaud 9 years ago
parent 2f825bec67
commit f390ae415d
  1. 6
      root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/fwsupdates/adm_conf.bat/10All

@ -1,7 +1,8 @@
{
my $pass = $wpkg{'UserPassword'};
my $repo = $wpkg{'RepositoryUri'} || 'https://pkgs.' . $DomainName;
my $repo_smb = '\\' . $InternalInterface{'IPAddress'} . '\wpkg';
my $repo_web = $wpkg{'RepositoryUri'} || 'https://pkgs.' . $DomainName;
my $logs = $wpkg{'LogsUri'} || 'https://pkglogs.' . $DomainName;
my $delay = $wpkg{'RandomDelay'} || '600';
my $report = $wpkg{'MaxReportDays'} || '7';
@ -9,7 +10,8 @@ my $report = $wpkg{'MaxReportDays'} || '7';
my $out .=<<"_EOF";
SET USER=deploiement
SET PASS=$pass
SET REPO=$repo
SET REPO_SMB=$repo_smb
SET REPO_WEB=$repo_web
SET LOGS=$logs
SET RANDOM_DELAY=600
SET MAX_REPORT=7

Loading…
Cancel
Save