diff options
| author | Mel <einebeere@gmail.com> | 2024-12-30 23:57:33 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-12-30 23:57:33 +0100 |
| commit | 695f967474718212dd57f76ffd8a6a340dfacfe5 (patch) | |
| tree | 9019eb4daddc39aa23eb662f64271e06f53b4ac4 | |
| parent | 5e933be1de8d94a533ec18c3081b7c2784a1cf8d (diff) | |
| download | specimen-695f967474718212dd57f76ffd8a6a340dfacfe5.tar.zst specimen-695f967474718212dd57f76ffd8a6a340dfacfe5.zip | |
Add proper header to cloud-init in Incus preseed
Signed-off-by: Mel <einebeere@gmail.com>
| -rw-r--r-- | configuration/vm/incus.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configuration/vm/incus.nix b/configuration/vm/incus.nix index 501d8f1..69c8465 100644 --- a/configuration/vm/incus.nix +++ b/configuration/vm/incus.nix @@ -76,7 +76,10 @@ in # `vendor` is usually for defaults, but it doesn't actually matter here. # NOTE: cloud-init requires either the incus-agent to be running, # or that the image is a special cloud image. i.e. `images:ubuntu/22.04/cloud`. - "cloud-init.vendor-data" = toYAML cloudInitConfiguration; + "cloud-init.vendor-data" = '' + #cloud-config + ${toYAML cloudInitConfiguration} + ''; }; devices = { # this is the internal vm network, |
