Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Database Setup is now done by the installer itself - Added database dialog for that - Interactively the administrator login is directly checked and installation cannot go on if administrative account cannot login - Added logging functions to better be able to debug installer Variable $WriteLogs is used for that. - Debug installer always writes logs - Passwords for psql login are transferred in environment variables, no passwords are written to files. - Help text if called with /? now really is the first done. - If silent installer aborts, it writes a file "abortreason" to $TEMP - Installer Parameters added: - /INSTALLDIRECTOR select director section for install this also selects bconsole section - /INSTALLSTORAGE selects storage section for install - /DBADMINUSER=<user> sets the database admin user, default=postgres - /DBADMINPASSWORD=<password> sets the database admin password default=<empty> DBADMINUSER and DBADMINPASSWORD are used to create the bareos databases. If login is not possible silent installer will abort - /WRITELOGS makes also non-debug installer write logs
- Loading branch information
Showing
4 changed files
with
416 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
; Ini file generated by the HM NIS Edit IO designer. | ||
[Settings] | ||
NumFields=14 | ||
|
||
[Field 1] | ||
Type=Groupbox | ||
Text=Bareos Director Database Connection | ||
Left=0 | ||
Right=299 | ||
Top=71 | ||
Bottom=114 | ||
|
||
[Field 2] | ||
Type=Groupbox | ||
Text=Administrative DB Account to setup Bareos Database | ||
Left=0 | ||
Right=299 | ||
Top=0 | ||
Bottom=70 | ||
|
||
[Field 3] | ||
Type=Text | ||
State=DB Admin Username | ||
Left=98 | ||
Right=295 | ||
Top=9 | ||
Bottom=22 | ||
|
||
[Field 4] | ||
Type=Text | ||
State=DB Admin Password | ||
Left=98 | ||
Right=295 | ||
Top=25 | ||
Bottom=38 | ||
|
||
[Field 5] | ||
Type=Text | ||
State=DB User | ||
Left=41 | ||
Right=152 | ||
Top=82 | ||
Bottom=95 | ||
|
||
[Field 6] | ||
Type=Text | ||
State=DB Password | ||
Left=41 | ||
Right=152 | ||
Top=96 | ||
Bottom=109 | ||
|
||
[Field 7] | ||
Type=Text | ||
State=DB Name | ||
Left=180 | ||
Right=294 | ||
Top=80 | ||
Bottom=93 | ||
|
||
[Field 8] | ||
Type=Text | ||
Flags=ONLY_NUMBERS | ||
State=DB Port | ||
Left=180 | ||
Right=294 | ||
Top=96 | ||
Bottom=109 | ||
|
||
[Field 9] | ||
Type=Label | ||
Text=Password | ||
Left=6 | ||
Right=40 | ||
Top=98 | ||
Bottom=106 | ||
|
||
[Field 10] | ||
Type=Label | ||
Text=Port | ||
Left=158 | ||
Right=171 | ||
Top=98 | ||
Bottom=106 | ||
|
||
[Field 11] | ||
Type=Label | ||
Text=User | ||
Left=6 | ||
Right=38 | ||
Top=84 | ||
Bottom=92 | ||
|
||
[Field 12] | ||
Type=Label | ||
Text=Name | ||
Left=158 | ||
Right=176 | ||
Top=83 | ||
Bottom=91 | ||
|
||
[Field 13] | ||
Type=Label | ||
Text=DB Admin Username | ||
Left=9 | ||
Right=74 | ||
Top=11 | ||
Bottom=19 | ||
|
||
[Field 14] | ||
Type=Label | ||
Text=DB Admin Password | ||
Left=9 | ||
Right=73 | ||
Top=25 | ||
Bottom=33 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.