Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
WindowsLinux
Un script de inicio es un archivo que contiene comandos que se ejecutan cuando se inicia una instancia de máquina virtual (VM). Compute Engine brinda soporte para ejecutar scripts de inicio en máquinas virtuales Linux y máquinas virtuales Windows.
La siguiente tabla contiene enlaces a documentación que describe cómo utilizar scripts de inicio.
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-04-17 (UTC)."],[[["Startup scripts are files containing commands that execute upon the boot of a virtual machine (VM) instance, supported by both Linux and Windows VMs."],["Startup scripts can be passed directly, from a local file, or from Cloud Storage, depending on the script's size, with direct and local files limited to 256 KB, and Cloud Storage for larger scripts."],["You can use startup scripts to pass different values to each VM via metadata."],["You can rerun a startup script without having to restart the VM."],["There is documentation to describe how to monitor the progress of a script when it is running, and also how to add a shutdown script."]]],[]]