summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorpaulober <44974737+paulober@users.noreply.github.com>2025-08-28 15:28:59 +0100
committerXECDesign <XECDesign@users.noreply.github.com>2025-09-30 08:30:20 +0100
commit372e56363338c0dd2f5bc5fa5f2e4d147685b23d (patch)
treeea9c5d4a119e6469f48556029e5c21f654d289ae /README.md
parent734e1a634912d73d31f407b3668ed00e5f2e7609 (diff)
Add cloud-init support
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4f7002e..f2ec148 100644
--- a/README.md
+++ b/README.md
@@ -221,6 +221,10 @@ The following environment variables are supported:
If set, use this directory path as the location of scripts to run when generating images. An absolute or relative path can be given for a location outside the pi-gen directory.
+ * `ENABLE_CLOUD_INIT` (Default: `1`)
+
+ If set to `1`, cloud-init and netplan will be installed and configured. This will allow you to configure your Raspberry Pi using cloud-init configuration files. The cloud-init configuration files should be placed in the bootfs or by editing the files in `stage2/04-cloud-init/files`. Cloud-init will be configured to read them on first boot.
+
A simple example for building Raspberry Pi OS:
```bash