diff --git a/src/sagemaker/local/image.py b/src/sagemaker/local/image.py index ef24bb0d99..3d0f8394ab 100644 --- a/src/sagemaker/local/image.py +++ b/src/sagemaker/local/image.py @@ -473,7 +473,12 @@ def write_processing_config_files( """ config_path = os.path.join(self.container_root, host, "config") - resource_config = {"current_host": host, "hosts": self.hosts} + resource_config = { + "current_host": host, + "hosts": self.hosts, + "network_interface_name": "eth0", + "current_instance_type": self.instance_type, + } _write_json_file(os.path.join(config_path, "resourceconfig.json"), resource_config) processing_job_config = { @@ -519,7 +524,12 @@ def write_config_files(self, host, hyperparameters, input_data_config): """ config_path = os.path.join(self.container_root, host, "input", "config") - resource_config = {"current_host": host, "hosts": self.hosts} + resource_config = { + "current_host": host, + "hosts": self.hosts, + "network_interface_name": "eth0", + "current_instance_type": self.instance_type, + } json_input_data_config = {} for c in input_data_config: