Update the generate.py for the rest.conf and cloudcode.conf

Signed-off-by: root <root@dhcp-65-24.nay.redhat.com>