- Convert the port number to string during the creation of the image URL
Change-Id: I44bb6681e05aa2bf6312342bd8cd73ac35f8e71b
Signed-off-by: bela.szanics <bela.szanics@nokia.com>
self.log.debug("attach_virtual_cd")
connection = self._init_connection(driver_info)
self._check_supported_idrac_version(connection)
- image_location = 'http://' + driver_info['provisioning_server'] + ':' + driver_info['provisioning_server_http_port'] + self.remote_share + image_filename
+ image_location = 'http://' + str(driver_info['provisioning_server']) + ':' + str(driver_info['provisioning_server_http_port']) + self.remote_share + image_filename
self._mount_virtual_cd(connection, image_location)
connection.logout()