Skip to content

Commit b120f51

Browse files
authored
Add prerequisite and fix command line in Flatpak (#3914)
1 parent 9aed377 commit b120f51

5 files changed

+17
-6
lines changed

guides/common/modules/proc_enabling-the-flatpak-remote.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ $ hammer flatpak-remote remote-repository mirror \
6767
--id=_My_Remote_Repo_ID_ \
6868
--product-id=_{Project}_Product_ID_
6969
----
70+
+
71+
The `--id` in this command refers to the Flatpak remote repository ID, not the standard {Project} repository ID.
72+
+
7073
You can view the repository under the selected product in {ProjectWebUI}.
7174
Set the *Include Tags* field to *latest*.
7275
. Synchronize the {Project} repository:
@@ -75,3 +78,5 @@ Set the *Include Tags* field to *latest*.
7578
----
7679
$ hammer repository sync --id=_My_Repo_ID_
7780
----
81+
+
82+
The `--id` in this command refers to the standard {Project} repository ID, not the Flatpak remote repository ID.

guides/common/modules/proc_importing-and-exporting-content-to-project-server-for-flatpak.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $ flatpak remote-add --authenticator-name=org.flatpak.Authenticator.Oci katello
3434
+
3535
[options="nowrap", subs="+quotes,verbatim,attributes"]
3636
----
37-
$ podman login
37+
$ podman login _{foreman-example-com}_
3838
----
3939
. Install your application.
4040
For example, to install the Mozilla Firefox Flatpak:

guides/common/modules/proc_installing-flatpak-applications-on-project-hosts.adoc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66
Use the command line to install selected applications from the enabled Flatpak remotes.
77

88
.Prerequisites
9-
* Install Flatpak.
9+
* Flatpak is installed on the host.
1010
ifdef::satellite[]
11-
* Enable the {Team} Flatpak remote.
11+
* The {Team} Flatpak remote is enabled.
1212
endif::[]
13+
* Ensure that Podman is installed on the host.
14+
* To install Flatpak applications from {Project}, ensure that your {Project} account has the `view_lifecycle_environments`, `view_products`, and `view_content_views` permissions, unless the lifecycle environment allows unauthenticated pull.
15+
* Your {Project} account has a role that grants the `create_personal_access_tokens` permission to generate an access token for authentication.
16+
The token generates automatically when you run `podman login`.
1317

1418
.Procedure
1519
. On the managed host, add your {ProjectServer} as a Flatpak remote:
@@ -22,7 +26,7 @@ $ flatpak remote-add --authenticator-name=org.flatpak.Authenticator.Oci katello
2226
+
2327
[options="nowrap", subs="+quotes,verbatim,attributes"]
2428
----
25-
$ podman login
29+
$ podman login _{foreman-example-com}_
2630
----
2731
. Install your application.
2832
For example, to install the Mozilla Firefox Flatpak:

guides/common/modules/proc_setting-up-flatpak-remote-for-smartproxy.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $ flatpak remote-add --authenticator-name=org.flatpak.Authenticator.Oci katello
2626
+
2727
[options="nowrap", subs="+quotes,verbatim,attributes"]
2828
----
29-
$ podman login
29+
$ podman login _{foreman-example-com}_
3030
----
3131
For more information about logging in using Podman, see xref:Configuring_podman_to_trust_the_CA_{context}[].
3232
+

guides/common/modules/proc_using-container-registries.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ For more information about OCI, see link:https://opencontainers.org/[Open Contai
1212
* Ensure that a product exists before pushing a repository.
1313
For more information, see xref:Creating_a_Custom_Product_{context}[].
1414
* To pull content from {Project}, ensure that your {Project} account has the `view_lifecycle_environments`, `view_products`, and `view_content_views` permissions, unless the lifecycle environment allows unauthenticated pull.
15+
* Your {Project} account has a role that grants the `create_personal_access_tokens` permission to generate an access token for authentication.
16+
The token generates automatically when you run `podman login`.
1517

1618
ifndef::orcharhino[]
1719
.Container registries on {SmartProxies}
@@ -36,7 +38,7 @@ If you use the ID-based schema, pull using IDs.
3638
+
3739
[options="nowrap", subs="+quotes,attributes"]
3840
----
39-
# podman login {foreman-example-com}
41+
# podman login _{foreman-example-com}_
4042
----
4143

4244
* Listing container images:

0 commit comments

Comments
 (0)