at this point the script runs without error and all tasks seem to work

the Foremen web page is rendered, but smart proxy is not working
for dns or dhcp and can't see to talk to the hypervisor
so more debugging is ahead!