We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9acb74 commit 15214f4Copy full SHA for 15214f4
src/aleph/vm/hypervisors/firecracker/microvm.py
@@ -331,8 +331,8 @@ def enable_file_rootfs(self, path_on_host: Path) -> Path:
331
logger.debug(f"File {jailer_path_on_host} already exists")
332
except OSError as err:
333
if err.errno == errno.EXDEV:
334
- # Invalid cross-device link:
335
- # cannot make hard link between partition. Make a copy instead
+ # Invalid cross-device link: cannot make hard link between partition.
+ # In this case, copy the file instead:
336
shutil.copyfile(path_on_host, f"{self.jailer_path}/{jailer_path_on_host}")
337
else:
338
raise
0 commit comments