🚨 Add pre-commit

This commit is contained in:
Neill Cox 2023-10-19 17:57:12 +11:00
parent f85e69e08f
commit e62f806e86
17 changed files with 158 additions and 80 deletions

View file

@ -18,11 +18,11 @@ I am primarily targetting RHEL8.4 and RHOSP16.2. As a result I'm tied to virt-in
There is a vestigial network-config.tpl in the virt-install directory but it is not actually used yet.
## os_migrate_setup.py
## os_migrate_setup.py
build the OSP infrastructure to allow testing os-migrate.
## os_migrate_teardown.py
## os_migrate_teardown.py
remove that infrastructure (to allow for refinement/iteration)
@ -32,11 +32,11 @@ virt-install/create_aio_vm.py - use virt-install to create and configure a VM to
Original script. Generates the yaml files and a dploy script to deploy a RHOSP AIO. Assumes a VM to run on. Don't run this on your laptop. You'll be sorry if you do.
## os_migrate_validate.py
## os_migrate_validate.py
Check that the necessary infrastructure has been deployed.
# Remember to mask and disable cloud-init if installing on a VM
# Remember to mask and disable cloud-init if installing on a VM
```
usage: main.py [-h] -u USERNAME -p PASSWORD -a ADDRESS [-i INTERFACE]
@ -69,4 +69,4 @@ By default the files will be placed in the home directory of the user running th
When happy with the contents rename them to remove the .gen suffix and run the deploy script.
The doco for the AIO deply says to run the deploy using sudo - I don't think this is correct. If you use sudo you will get a warning about files ending up /root.
The doco for the AIO deply says to run the deploy using sudo - I don't think this is correct. If you use sudo you will get a warning about files ending up /root.