New Question

Revision history [back]

click to hide/show revision 1
initial version

Hello there,

We already have this in place here: https://github.com/stackforge/cloudbase-init/blob/c5ebf8deecaca633695a73af903def94b7825e66/cloudbaseinit/plugins/common/userdata.py#L156

Here are the exit codes:

  1. 1001 -> just reboot
  2. 1002 -> reexecute the plugin on next boot
  3. 1003 -> reboot and reexecute the plugin on next boot

Hope it works!

Hello there,

We already have this in place here: https://github.com/stackforge/cloudbase-init/blob/c5ebf8deecaca633695a73af903def94b7825e66/cloudbaseinit/plugins/common/userdata.py#L156

Here are the exit codes:

  1. 1001 -> just reboot
  2. 1002 -> reexecute the plugin on next boot
  3. 1003 -> reboot and reexecute the plugin on next boot

Hope Please let me know if it works!works for you!

Hello there,

We already have this in place here: https://github.com/stackforge/cloudbase-init/blob/c5ebf8deecaca633695a73af903def94b7825e66/cloudbaseinit/plugins/common/userdata.py#L156

Here are the exit codes:

  1. 1001 -> just reboot
  2. 1002 -> reexecute the plugin on next boot
  3. 1003 -> reboot and reexecute the plugin on next boot

Please let me know if it works for you!you.

Hello there,

We already have this in place here: https://github.com/stackforge/cloudbase-init/blob/c5ebf8deecaca633695a73af903def94b7825e66/cloudbaseinit/plugins/common/userdata.py#L156

Here are the exit codes:

    • 1001 -> just reboot- reboot and don’t run the plugin again on next boot
    • 1002 -> reexecute - don't reboot now and run the plugin again on next boot
    • 1003 -> - reboot and reexecute run the plugin again on next boot

Please let me know if it works for you.