Quantcast
Channel: Cloudbase Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 23

How to re-execute plugins per instance boot

$
0
0
Hi, I am using `NoCloudConfigDrive` metadata service for gathering information like password, hostname,... from `user-data` and `meta-data` files mounted into the VM and exposing them to a lot of plugins. In my use case, I may want to change user password , VM hostname or somethings like that. So, It's best for me to apply these changes into the `user-data` and `meta-data` files and whenever the VM rebooted, `cloudbase-init` check the changes and apply them again. I find out that if I change the value of `instance-id` in `meta-data` file, all of the plugins that mentioned in cloudbase-init configuration file will re-executed. But I don't like to change the `instance-id` due to my use case. Is there any another way to re-execute plugins per VM boot ?

Viewing all articles
Browse latest Browse all 23

Latest Images

Trending Articles





Latest Images