canonical / canonical/cloud-init
Scripts in /var/lib/cloud/scripts/vendor are never run
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 1.1k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 18
Description
# Bug report
I was looking at using vendor scripts as another place to drop in scripts to run. It doesn't look like these actually ever get run? I also see that cc_vendor_scripts use the current instance path. But this is a symlink to a path with the launched instance ID so it doesn't seem possible to include a script in there. Is there a way to use vendor scripts then in AWS with EC2?
I was trying to provide a set of scripts to run on boot that wouldn't collide with other user scripts.
## Steps to reproduce the problem
Put a script in `/var/lib/cloud/scripts/vendor`
## Environment details
- Cloud-init version:
- Operating System Distribution: Ubuntu 24.04
- Cloud provider, platform or installer type: AWS EC2
Contributor guide
Assessment
This issue has not been assessed yet.