Skip to content

Commit 6e7c0ae

Browse files
committed
Add more examples
1 parent cbf269f commit 6e7c0ae

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,20 @@ sudo atomic-update --shell run true
9292
sudo atomic-update --shell run bash -c 'date | awk "{print \$1}" && whoami'
9393
```
9494

95-
6. Rollback to currently booted snapshot
95+
6. Troubleshoot a failing dup by running dup interactively and dropping into a bash shell afterward
96+
```
97+
sudo atomic-update --shell --interactive dup
98+
```
99+
100+
7. Continue making updates to the previous snapshot in a new snapshot
101+
```
102+
sudo atomic-update --shell --continue run true
103+
```
104+
105+
> Without `--continue` option, atomic-update would always base the new snapshot from the currently booted snapshot.
106+
Use this option to not lose changes made to a previous snapshot. Option `--apply` implies continue.
107+
108+
8. Rollback to currently booted snapshot
96109
```
97110
sudo atomic-update rollback
98111
```

0 commit comments

Comments
 (0)