Commit 02887ca
committed
[pcp_metrics] Create a usroverlay instead of remounting /usr
Remounting the `/usr` directory on coreos nodes was failing on
newer crc releases because `/usr` is read-only. This changes the remount
to use the `rpm-ostree usroverlay` command to create a temporary
writable layer instead.
Data written to this overlay will not persist between boots.
Signed-off-by: Michael Burke <michburk@redhat.com>1 parent 7680a88 commit 02887ca
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 16 | + | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
0 commit comments