Skip to content

Commit

Permalink
feat: align Uhyve mount path to virtiofsd
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Apr 5, 2024
1 parent fba3536 commit 83e21be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fs/uhyve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ impl VfsNode for UhyveDirectory {
pub(crate) fn init() {
info!("Try to initialize uhyve filesystem");
if is_uhyve() {
let mount_point = hermit_var_or!("UHYVE_MOUNT", "/host").to_string();
let mount_point = hermit_var_or!("UHYVE_MOUNT", "/root").to_string();
info!("Mounting virtio-fs at {}", mount_point);
fs::FILESYSTEM
.get()
Expand Down

0 comments on commit 83e21be

Please sign in to comment.