Description of changes:
aws_domainjoin.sh script modified to check whether the domain to be joined is already joined, and if so will exit cleanly.
This is needed as the set_hostname function in the script generates a new hostname on each run, which can cause the hostname to be different to the domain joined name.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: 349
Description of changes: aws_domainjoin.sh script modified to check whether the domain to be joined is already joined, and if so will exit cleanly.
This is needed as the set_hostname function in the script generates a new hostname on each run, which can cause the hostname to be different to the domain joined name.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.