Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update domainjoin_unix_script to fix SUSE issues #456

Open
wants to merge 1 commit into
base: mainline
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions agent/plugins/domainjoin/domainjoin_unix_script.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,14 +390,14 @@ install_components() {
exit 1
fi
if [ "$SUSE_MAJOR_VERSION" -eq "15" ]; then
sudo SUSEConnect -p PackageHub/15.1/x86_64
sudo SUSEConnect -p PackageHub/$SUSE_MAJOR_VERSION.$SUSE_MINOR_VERSION/x86_64
if [ $? -ne 0 ]; then
sudo SUSEConnect
fi
fi
LINUX_DISTRO='SUSE'
sudo zypper update -y
sudo zypper -n install realmd adcli sssd sssd-tools sssd-ad samba-client krb5-client samba-winbind krb5-client bind-utils python3 openldap2-client NetworkManager
sudo zypper -n install realmd adcli sssd sssd-tools sssd-ad samba-client krb5-client samba-winbind krb5-client bind-utils python3 openldap2-client
if [ $? -ne 0 ]; then
return 1
fi
Expand Down