Skip to content

Commit

Permalink
Fix the format
Browse files Browse the repository at this point in the history
  • Loading branch information
HuijingHei committed Nov 15, 2024
1 parent 3379b6a commit 26729f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/ROOT/pages/alternatives.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ storage:

Starting with Fedora CoreOS based on Fedora 41, you can use `alternatives` commands to configure the default command.

. Example Butane config using a systemd unit to configure the default iptables backend
.Example Butane config using a systemd unit to configure the default iptables backend
[source,yaml,subs="attributes"]
----
variant: fcos
Expand All @@ -63,7 +63,7 @@ NOTE: We don't recommend configuring the default iptables backend to `iptables-l

You can also manually run the `alternatives` commands to configure the default command runtime.

. Example to manually configure the default iptables backend
.Example to manually configure the default iptables backend
[source,bash]
----
# Check the link info
Expand Down
6 changes: 3 additions & 3 deletions modules/ROOT/pages/provisioning-aws.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ ignition:
source: s3://instance1-infra/bootstrap.ign
----

. Format the remote Ignition file to json format
.Format the remote Ignition file to json format
[source, bash]
----
butane -p config.bu -o config.ign
----

You need to create a role that includes `s3:GetObject` permission, and attach it to the instance profile. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-service.html#roles-creatingrole-service-cli[role creation document] for more information.

. Create the instance profile
.Create the instance profile
[source,bash]
----
cat <<EOF >trustpolicyforec2.json
Expand Down Expand Up @@ -141,7 +141,7 @@ aws iam add-role-to-instance-profile --instance-profile-name ${PROFILE} --role-n

To launch the instance, need to attach the created profile. From the command-line, use `--iam-instance-profile`.

. Launching and customizing a new instance with remote Ignition file from a S3 bucket
.Launching and customizing a new instance with remote Ignition file from a S3 bucket
[source,bash]
----
NAME='instance1'
Expand Down

0 comments on commit 26729f7

Please sign in to comment.