Skip to content

feat(vmm-ui): Add init_script support and improve encrypted env visibility#473

Merged
kvinwang merged 1 commit into
masterfrom
feat/vmm-ui-init-script
Jan 27, 2026
Merged

feat(vmm-ui): Add init_script support and improve encrypted env visibility#473
kvinwang merged 1 commit into
masterfrom
feat/vmm-ui-init-script

Conversation

@kvinwang

@kvinwang kvinwang commented Jan 27, 2026

Copy link
Copy Markdown
Collaborator

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
@kvinwang
kvinwang deleted the feat/vmm-ui-init-script branch July 20, 2026 14:04
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.

1 participant