Autoyast with Packer error installing SLES on VMware enviroment

I’m trying to build an SUSE 15 SP2 template on VMware using PACKER and autoyast xml files.
I’m having an issue described here:
At the beginning of the installation process with the Autoyast xml file. The error says:
"An error occurred while fetching the profile: Cannot find URL ‘’ via protocol HTTP(S). Server returned code 0."
The server is reachable from the newly created VM and the VM itself has an IP address.
I’m trying to instal a SUSE SLES 15 SP2 and the env is quite different.
My WMware ENV is :
ESXi server: VMware ESXi, 6.5.0, 9298722
vCenter: 7.0.1
PACKER: v1.7.2

SUSE ISO I’m using is: SLE-15-SP2-Full-x86_64-GM-Media1.iso downloaded from SUSE web site.
Can you help me to correct this ?