Skip to content

Commit 3a758f6

Browse files
committed
omv_salt - add how to see / run dirty states (#146)
Add commands that will show which states are dirty, and deploy only the dirty states. (cherry picked from commit 539e889) Signed-off-by: Volker Theile <[email protected]>
1 parent c883bba commit 3a758f6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

development/tools/omv_salt.rst

+9
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ To get a list of all available deployment states::
88

99
# omv-salt deploy list
1010

11+
To get a list of all states that are dirty (saved in the Web UI but not
12+
yet reconfigured):
13+
14+
# cat /var/lib/openmediavault/dirtymodules.json
15+
1116
To deploy one or more states run the following command::
1217

1318
# omv-salt deploy run <NAMES>...
@@ -36,3 +41,7 @@ If you want to deploy all states in one bunch, then you need to execute
3641
the following command::
3742

3843
# omv-salt stage run deploy
44+
45+
If you want to deploy only the states that are dirty, run the command:
46+
47+
# omv-salt deploy run --append-dirty

0 commit comments

Comments
 (0)