-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
Future Sustainability
-
False
-
-
False
-
Not Selected
-
-
The underlying feature (Epic MTV-3641) introduces the capability for administrators to specify "firstboot scripts" that are automatically executed the first time a migrated Virtual Machine (VM) boots up in the target container host environment.
This is a post-migration automation feature designed to handle tasks that cannot be completed before the final cutover, such as:
- Re-registering the VM with an external inventory system (e.g., Satellite, CMDB).
- Switching the operating system to production-level network services.
- Installing or updating cloud-init/guest agents required in the new platform environment.
- Removing legacy binaries or configurations from the source virtualization platform.
Technical Writer Scope
The primary documentation challenge for the technical writer is to:
- Identify the Mechanism: Determine the exact interface used to specify these scripts (e.g., a new field in the MigrationPlan CR, a new web console field, or a required Secret).
- Define Best Practices: Document clear guidelines on the type of scripts supported (e.g., bash, powershell), script execution order, exit codes, and limitations (e.g., script runtime limits).
- Create Examples: Provide runnable, copy-paste examples of a simple firstboot script (e.g., a script that writes a log entry or performs a simple configuration change) to onboard the user quickly.
The resulting documentation must integrate seamlessly into the Migration Plan Creation and Post-Migration Automation chapters.
JTBD Statement:
"When I complete a Virtual Machine migration to the new container host environment, I want to provide a specific, guaranteed-to-run script so that I can automatically perform all necessary final configuration and cleanup tasks (like registering agents or removing old platform binaries) without requiring manual SSH access, thereby achieving true, end-to-end automation of the migration process."
The documentation task (MTV-3854) supports this job by addressing the primary sub-job:
"When I need to automate tasks using the new firstboot script feature, I need a clear reference guide with working examples so that I can write and apply the scripts securely and correctly and be certain they will execute as the VM transitions into production."