Skip to content

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Feb 20, 2025

Fixes an issue where basic_users doesn't always modify /home correctly (i.e. create user home dirs and create/accept ssh keys) for the default NFS configuration, because the control node does not mount /home and might end up being the first host in the play and therefore running these tasks.

This has never been noticed because
a) this aspect of the demo_user isn't tested in CI
b) the caas environment does mount /home on the control node (to provide access to that to allow modification of packages etc across the cluster)

Also changes the default type of the created in-cluster ssh key from rsa to ed25519.

@sjpb sjpb marked this pull request as ready for review February 20, 2025 11:36
@sjpb sjpb requested a review from a team as a code owner February 20, 2025 11:36
@sjpb sjpb requested a review from priteau February 20, 2025 11:37
Copy link

@MaxBed4d MaxBed4d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks to me like the changes should have the intended effect. LGTM

Copy link
Member

@JohnGarbutt JohnGarbutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good.

I am guessing we were quite dependent on the control host not being the first host in the inventory before?

@sjpb sjpb merged commit 6a349c3 into main Feb 21, 2025
2 checks passed
@sjpb sjpb deleted the fix/basic_users branch February 21, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants