diff --git a/coriolisclient/constants.py b/coriolisclient/constants.py index 10c1981..ca33db8 100644 --- a/coriolisclient/constants.py +++ b/coriolisclient/constants.py @@ -56,12 +56,11 @@ PHASE_OSMORPHING_PRE_OS_MOUNT = "osmorphing_pre_os_mount" # Scripts that are executed after the OS partition is mounted (the default). PHASE_OSMORPHING_POST_OS_MOUNT = "osmorphing_post_os_mount" -# We may eventually add "PHASE_REPLICA_FIRST_BOOT" for convenience, although -# the users can already achieve this by using os-morphing scripts to schedule -# scripts that will be executed at the next boot. This may require import -# provider support. +# Scripts that are executed when the replica VM starts for the first time. +PHASE_REPLICA_FIRST_BOOT = "replica_first_boot" USER_SCRIPT_PHASES = [ PHASE_OSMORPHING_PRE_OS_MOUNT, PHASE_OSMORPHING_POST_OS_MOUNT, + PHASE_REPLICA_FIRST_BOOT, ]