You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
When using SU at lines 565 and 614 SU will use the default shell, which if it is not bash (maybe sh also works) it is likely to fail. In our case default shell is tsch which fails with errors like "Missing name for redirect. " during the setup part of the script...
A work around for us was to explicitly set the shell for SU like
'su -s /usr/bin/bash -c "set -a && source <(cat ${confwild}) .....' on lines 565 and 614.
Suggested fix is detecting compatible shells, and passing to su -s, or write script in more portable fashion.
When using SU at lines 565 and 614 SU will use the default shell, which if it is not bash (maybe sh also works) it is likely to fail. In our case default shell is tsch which fails with errors like "Missing name for redirect. " during the setup part of the script...
A work around for us was to explicitly set the shell for SU like
'su -s /usr/bin/bash -c "set -a && source <(cat ${confwild}) .....' on lines 565 and 614.
Suggested fix is detecting compatible shells, and passing to su -s, or write script in more portable fashion.
server-install-script-samples/linux/automated-installer/automated-installer
Line 565 in 5aae171
server-install-script-samples/linux/automated-installer/automated-installer
Line 614 in 5aae171
The text was updated successfully, but these errors were encountered: