Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Correct unshare mount command for listing /etc
Browse files Browse the repository at this point in the history
Unshare expects a single command with arguments but the "sh -c" was
forgotten here.
  • Loading branch information
pothos committed Sep 26, 2023
1 parent e333263 commit 95cbe6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/setup/releases/update-strategies.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ sudo git diff --no-index /usr/share/flatcar/etc /etc
You can also see what files got created under the real `/etc` with the following commands:

```sh
sudo unshare -m "umount /etc; ls -lahR /etc"
sudo unshare -m sh -c "umount /etc; ls -lahR /etc"
```

### Configure a post-install update hook
Expand Down

0 comments on commit 95cbe6d

Please sign in to comment.