cloudbase / cloudbase-init

Cross-platform instance initialization
http://openstack.org
Apache License 2.0
414 stars 150 forks source link

Multi-part content and Exit Codes #91

Open AlexDias95 opened 2 years ago

AlexDias95 commented 2 years ago

Multi-Part does support exit codes? I am trying to send two scripts via Multi-Part and one of the scripts has the exit code 1002 (don’t reboot now and run the plugin again on the next boot) and the other one has 1001 (reboot and don’t run the plugin again on next boot). But the script with exit code 1002 does not run again on the new boot. Any ideas?