Issues with scripts-user Execution and Hashed User Passwords in Kairos Cloud-Config (Yip) #3286
Unanswered
AlexanderTheGrey
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I forgot to update this a few weeks ago, but I was able to work around the cloud-config issues by better understanding the fact that Yip is completely different than Cloud-Init (this is made clear in the documentation, but there's still some room for conflating the two), and what I was doing here with I'm still having issues with the user password hashes not working though, so I'm not sure what I'm doing wrong there. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm experiencing two issues with Kairos using cloud-config (Yip):
scripts-user Not Executing:
The script provided under the scripts-user section isn’t running at all. For example:
The above script does not execute after installation during the final boot process.
Hashed Passwords Not Applied:
When using hashed passwords (via
passwd
orhashed_passwd
) in the users section, the password doesn't get set correctly. For example:Despite the hashed password being specified (generated using
mkpasswd --method=SHA-512 --rounds=4096
), it doesn't apply as expected.Has anyone encountered these issues or found a workaround?
I'm using Kairos
ubuntu:24.04-core-amd64-generic-v3.3.2
andauroraboot:v0.6.3
.The cloud-config is being applied using Kairos' WebUI.
Additional Question:
What is the easiest way to debug cloud-config scripts? I can see logs in
/var/log/cloud-config
, but I'm not entirely sure if this is where all the information about cloud-config's execution is stored. Also, the documentation on Cloud-Init and Yip is quite sparse, so any insights on better debugging methods or pointers to more comprehensive docs would be greatly appreciated!Beta Was this translation helpful? Give feedback.
All reactions