Mengonfigurasi instance dengan kebijakan tamu yang ditentukan pengguna
Container-Optimized OS menyertakan agen OS Config. Anda dapat menggunakan kebijakan tamu OS Config untuk mengonfigurasi instance. Fitur packages dan
packageRepositories kebijakan tamu tidak didukung di Container-Optimized OS.
Berikut adalah contoh yang menunjukkan cara pengguna dapat menggunakan fitur assignment dan recipes dari kebijakan tamu untuk membuat file di instance yang terletak di us-central1-a.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-08 UTC."],[[["Container-Optimized OS includes the OS Config agent, which allows instance configuration through guest policies."],["The `packages` and `packageRepositories` features of guest policies are not supported on Container-Optimized OS."],["Users can utilize the `assignment` and `recipes` features of guest policies to perform actions such as creating files on instances."],["Unlike other distros, Container-Optimized OS requires an `interpreter` to execute scripts in recipes and runs recipes on every boot due to the stateless nature of most directories."],["While it's optional to provide an `interpreter` on other distros, Container-Optimized OS requires it to execute the given script."]]],[]]