Skip to content

Conversation

@kvinwang
Copy link
Collaborator

@kvinwang kvinwang commented Jan 27, 2026

Summary

  • Add init_script field to Create VM dialog (executed before dockerd starts, for early system setup)
  • Add init_script field to Update VM dialog (in compose update section)
  • Fix encrypted env editor to only show when KMS key provider is selected (previously always visible)
  • Update useVmManager composable to handle init_script in form state and compose generation

Changes

  • vmm/src/console_v1.html - Add init_script fields and fix encrypted env visibility
  • vmm/ui/src/components/CreateVmDialog.ts - Add init_script textarea with tooltip
  • vmm/ui/src/components/UpdateVmDialog.ts - Add init_script in compose update section
  • vmm/ui/src/composables/useVmManager.ts - Handle init_script in types, state, and compose generation

Test plan

  • Create VM with init_script, verify it appears in app-compose.json
  • Verify encrypted env editor only shows when KMS is selected
  • Update VM compose with init_script, verify it's applied
  • Clone VM with init_script, verify the script is copied

…ility

- Add init_script field to Create VM dialog (executed before dockerd starts)
- Add init_script field to Update VM dialog (in compose update section)
- Fix encrypted env editor to only show when KMS key provider is selected
- Update useVmManager to handle init_script in form state and compose generation
@kvinwang kvinwang enabled auto-merge January 27, 2026 12:38
@kvinwang kvinwang merged commit dd45fed into master Jan 27, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants