Commit b241b44
committed
feat(rollback): add --apply flag
Adds an --apply flag to the `bootc rollback` command to implement
automated restarts.
Have confirmed this works by building the bootc binary and running
`bootc rollback --apply` on my host. This restarted the machine
into the new (rollback) image.
Closes #1029
Signed-off-by: Robert Sturla <[email protected]>1 parent b991a93 commit b241b44
2 files changed
+26
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
135 | 143 | | |
136 | 144 | | |
137 | 145 | | |
| |||
905 | 913 | | |
906 | 914 | | |
907 | 915 | | |
908 | | - | |
| 916 | + | |
909 | 917 | | |
910 | | - | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
911 | 925 | | |
912 | 926 | | |
913 | 927 | | |
| |||
0 commit comments