No description
| .gitignore | ||
| main.py | ||
| os_migrate_setup.py | ||
| README.md | ||
| requirements.txt | ||
A quick and dirty script to help set up a RHOSP AIO
usage: main.py [-h] -u USERNAME -p PASSWORD -a ADDRESS [-i INTERFACE]
[-m NETMASK] -d DNS [DNS ...] [-D DOMAIN]
[--using-multiple-nics] [-U DEPLOYMENT_USER]
[--deployment-dir DEPLOYMENT_DIR] [-g GATEWAY]
[--containers-yaml-out CONTAINERS_YAML_OUT]
[--standalone-yaml-out STANDALONE_YAML_OUT]
optional arguments:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
-p PASSWORD, --password PASSWORD
-a ADDRESS, --address ADDRESS
-i INTERFACE, --interface INTERFACE
-m NETMASK, --netmask NETMASK
-d DNS [DNS ...], --dns DNS [DNS ...]
-D DOMAIN, --domain DOMAIN
--using-multiple-nics
-U DEPLOYMENT_USER, --deployment-user DEPLOYMENT_USER
--deployment-dir DEPLOYMENT_DIR
-g GATEWAY, --gateway GATEWAY
--containers-yaml-out CONTAINERS_YAML_OUT
--standalone-yaml-out STANDALONE_YAML_OUT
Use this script to generate the yaml and a deploy script to buyild an AIO
By default the files will be placed in the home directory of the user running the script (should probable be the stack user)
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.