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

Kali AMI does not run user data scripts #180

Closed
jsf9k opened this issue Jan 17, 2025 · 1 comment · Fixed by #179
Closed

Kali AMI does not run user data scripts #180

jsf9k opened this issue Jan 17, 2025 · 1 comment · Fixed by #179
Assignees
Labels
bug This issue or pull request addresses broken functionality

Comments

@jsf9k
Copy link
Member

jsf9k commented Jan 17, 2025

🐛 Summary

NOM reported that the Kali AMI is no longer running the user data scripts that create the script to copy assessment data to the S3 bucket and the associated AWS credentials file.

To reproduce

Steps to reproduce the behavior:

  1. Deploy a Kali AMI.
  2. Observe that the scripts are present but are not run.

Expected behavior

These user data scripts should run when the instance is booted up from the AMI.

@jsf9k jsf9k added the bug This issue or pull request addresses broken functionality label Jan 17, 2025
@jsf9k jsf9k self-assigned this Jan 17, 2025
@jsf9k
Copy link
Member Author

jsf9k commented Jan 17, 2025

Upon investigation I saw that some of the systemd cloud-init services do not start up correctly due to missing socket files. The culprit is canonical/cloud-init#5928, so in #179 I added Ansible code to enable cloud-init-main.service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant