{
"id": 1,
"name": "install-qga-test-v2",
"scriptType": "shell",
"runMode": "qemu_agent",
"content": "echo updated > /root/qimen-init.txt",
"timeoutSeconds": 300,
"status": 1,
"remark": "更新测试脚本"
}curl --location --request PUT '/vmInitScript/update' \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"name": "install-qga-test-v2",
"scriptType": "shell",
"runMode": "qemu_agent",
"content": "echo updated > /root/qimen-init.txt",
"timeoutSeconds": 300,
"status": 1,
"remark": "更新测试脚本"
}'{}