2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

To replace PR 5130: Update version_control_inventory.rst (#5530)

This commit is contained in:
zet809 2018-08-17 15:28:31 +08:00 committed by yangsong
parent b4bc1e9996
commit dc04c54101

View File

@ -30,7 +30,7 @@ By managing the inventory file under source control system, you can manage the x
xcat-inventory export --format=yaml >/git/cluster/mycluster.yaml
cd /git/cluster
git diff
git add xcat-inventory export --format=yaml >/git/cluster/mycluster.yaml
git add /git/cluster/mycluster.yaml
git commit /git/cluster/mycluster.yaml -m "$(date "+%Y_%m_%d_%H_%M_%S"): replaced bad nodes; turn on xcatdebugmode; blah-blah"
6. ordinary cluster maintenance and operation, some issues are founded in current cluster, need to restore the current cluster configuration to commit no c95673 [1]_ ::