Skip to content

Commit d33f40e

Browse files
cgwaltersjlebon
authored andcommitted
provisioning-gcp: Mention user-data
This was not obvious to me.
1 parent 1d30ca7 commit d33f40e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/ROOT/pages/provisioning-gcp.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ You now should be able to SSH into the instance using the associated IP address.
5959
ssh core@<ip address>
6060
----
6161

62-
In order to launch a customized FCOS instance, a valid Ignition configuration must be passed as user-data at creation time:
62+
63+
In order to launch a customized FCOS instance, a valid Ignition configuration must be passed as metadata under the
64+
`user-data` key at creation time. In the web console, this is available under the Management section.
65+
From the command-line, use `--metadata-from-file`:
6366

6467
.Launching and customizing a new instance
6568
[source, bash]
@@ -71,3 +74,4 @@ gcloud compute instances create --metadata-from-file "user-data=${CONFIG}" --ima
7174
----
7275

7376
NOTE: By design, https://cloud.google.com/compute/docs/startupscript[startup scripts] are not supported on FCOS. Instead, it is recommended to encode any startup logic as systemd service units in the Ignition configuration.
77+
Again, note you need to use the `user-data` key for Ignition; it will also not work to paste Ignition into this field in the web console.

0 commit comments

Comments
 (0)