更新初始化脚本,默认添加 vmtools 插件

This commit is contained in:
Ing 2025-02-19 16:15:02 +08:00
parent 72e9d7d657
commit 4c4ae4e0ff
2 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,7 @@
$("#version").on("change", changeVersion);
$("#language").on("change", changeVersion);
$("#kernel").on("change", chanageKernel);
$('#addons').val("acpid,mountloader,powersched,reboottoloader,trivial");
$('#addons').val("acpid,mountloader,powersched,reboottoloader,trivial,vmtools");
setModels();
});
});

View File

@ -67,6 +67,7 @@ initConfigKey "addons" "{}" "${USER_CONFIG_FILE}"
if [ -z "$(readConfigMap "addons" "${USER_CONFIG_FILE}")" ]; then
initConfigKey "addons.acpid" "" "${USER_CONFIG_FILE}"
initConfigKey "addons.trivial" "" "${USER_CONFIG_FILE}"
initConfigKey "addons.vmtools" "" "${USER_CONFIG_FILE}"
initConfigKey "addons.mountloader" "" "${USER_CONFIG_FILE}"
initConfigKey "addons.powersched" "" "${USER_CONFIG_FILE}"
initConfigKey "addons.reboottoloader" "" "${USER_CONFIG_FILE}"