Skip to content

Commit be477e4

Browse files
committed
readme: add new section for tools scripts
Signed-off-by: Olivier Hoareau <olivier.hoareau@vates.tech>
1 parent ee51c90 commit be477e4

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,3 +555,26 @@ INFO:root:Setting bridge to xenbr0
555555
```
556556
557557
For more details, see `xva_bridge.py --help`.
558+
559+
## Tools
560+
561+
Helper tools are available through the entrypoint `scripts/tools.py`:
562+
563+
```bash
564+
uv run scripts/tools.py -h
565+
```
566+
567+
### Update
568+
569+
This command performs an update operation on remote targets.
570+
571+
```bash
572+
uv run scripts/tools.py update primary1 primary2
573+
```
574+
575+
For each primary target :
576+
577+
1. Clean cached metadata
578+
2. Update with repository manager (yum): Optionally enables repositories
579+
3. Reboot
580+
4. Get attached secondary hosts and repeats three previous steps for each secondary

0 commit comments

Comments
 (0)