Skip to content

Commit 2a2dcdc

Browse files
docs: Split monolithic code block into sequential steps for clarity (#33) (#41)
1 parent 7499ed7 commit 2a2dcdc

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/how-to/install-pro-package-slices.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,19 @@ credentials will be automatically picked up from `/etc/apt/auth.conf.d/`.
5757
However, you must change the default permissions of the credentials file(s)
5858
so that Chisel can read it.
5959

60+
First, enable the service(s) related to the Pro archive(s) you want Chisel to fetch Pro packages from. This will also generate the archive credentials:
61+
6062
```sh
61-
# Enable the service(s) related to the Pro archive(s)
62-
# you want Chisel to fetch Pro packages from.
63-
# This will also generate the esm-infra archive credentials.
6463
sudo pro enable esm-infra
64+
```
65+
Next, provide read access to the user. You can do this using `setfacl`:
6566

66-
# Provide read access to the user.
67+
```sh
6768
sudo setfacl -m u:$USER:r /etc/apt/auth.conf.d/90ubuntu-advantage
69+
```
70+
Alternatively, you can use `chmod`:
6871

69-
# Or, alternatively,
72+
```sh
7073
sudo chmod u+r /etc/apt/auth.conf.d/90ubuntu-advantage
7174
```
7275

0 commit comments

Comments
 (0)