Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/aleph/vm/hypervisors/firecracker/microvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def enable_file_rootfs(self, path_on_host: Path) -> Path:
rootfs_filename = Path(path_on_host).name
jailer_path_on_host = f"/opt/{rootfs_filename}"
try:
os.link(path_on_host, f"{self.jailer_path}/{jailer_path_on_host}")
os.symlink(path_on_host, f"{self.jailer_path}/{jailer_path_on_host}")
except FileExistsError:
logger.debug(f"File {jailer_path_on_host} already exists")
return Path(jailer_path_on_host)
Expand Down