Skip to content

Commit 6bbb4da

Browse files
authored
doc/cloud-init: Fix command example (#15171)
2 parents 01de61c + ad9d6c2 commit 6bbb4da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/cloud-init.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Since `cloud-init` only runs on instance start, updates to `cloud-init.*` keys o
310310
The following command injects `someuser`'s key from Launchpad into the newly created `container`:
311311

312312
```bash
313-
lxc launch ubuntu:24.04 container -c cloud-init.ssh-keys.mykey root:lp:someuser
313+
lxc launch ubuntu:24.04 container -c cloud-init.ssh-keys.mykey=root:lp:someuser
314314
```
315315

316316
The example profile configuration below defines a key to be injected on an instance. The injected key enables the owner of the private key to SSH into the instance as a user named `user`:

0 commit comments

Comments
 (0)