diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-01-24 11:58:11 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-01-24 11:58:11 -0500 |
commit | be61755c7723790b68f30b8acaf1ce8ba2410dd4 (patch) | |
tree | e8c95f25128d63ff3d8d4ffbe91ea24752138df5 /cloudinit/CloudConfig/__init__.py | |
parent | 7e2e87f2de893835900eb5a96458a865f36c624c (diff) | |
download | vyos-cloud-init-be61755c7723790b68f30b8acaf1ce8ba2410dd4.tar.gz vyos-cloud-init-be61755c7723790b68f30b8acaf1ce8ba2410dd4.zip |
fix cloud-run-user-script for directory change, make it invoke other scripts
Now, in addition to running instance specific scripts (in runcmd or
user-data scripts), cloud-run-user-script will run other directories
also. All under /var/lib/cloud, and in the following order:
scripts/per-once [once ever]
scripts/per-boot [every boot]
scripts/per-instance [once per instance]
instance/scripts [once per instance]
At the moment, the marker is on the entire directory, so changes to that
directory. Changes to the contents of the directory will not be noticed.
Diffstat (limited to 'cloudinit/CloudConfig/__init__.py')
0 files changed, 0 insertions, 0 deletions