Skip to content

Commit 84330cf

Browse files
committed
add missing for local processing
1 parent 759b0c2 commit 84330cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/sagemaker/local/image.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,12 @@ def write_processing_config_files(
473473
"""
474474
config_path = os.path.join(self.container_root, host, "config")
475475

476-
resource_config = {"current_host": host, "hosts": self.hosts}
476+
resource_config = {
477+
"current_host": host,
478+
"hosts": self.hosts,
479+
"network_interface_name": "eth0",
480+
"current_instance_type": self.instance_type,
481+
}
477482
_write_json_file(os.path.join(config_path, "resourceconfig.json"), resource_config)
478483

479484
processing_job_config = {

0 commit comments

Comments
 (0)