Skip to content

Commit

Permalink
Fix spaces in virtiofs source
Browse files Browse the repository at this point in the history
  • Loading branch information
c0deaddict authored and astro committed Nov 27, 2023
1 parent b16e626 commit d5f7652
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nixos-modules/host.nix
Original file line number Diff line number Diff line change
Expand Up @@ -388,13 +388,13 @@ in
script = ''
for d in current/share/microvm/virtiofs/*; do
SOCKET=$(cat $d/socket)
SOURCE=$(cat $d/source)
mkdir -p $SOURCE
SOURCE="$(cat $d/source)"
mkdir -p "$SOURCE"
virtiofsd \
--socket-path=$SOCKET \
--socket-group=${config.users.users.microvm.group} \
--shared-dir $SOURCE \
--shared-dir "$SOURCE" \
--rlimit-nofile ${toString serviceConfig.LimitNOFILE} \
--thread-pool-size `nproc` \
--posix-acl --xattr \
Expand Down

0 comments on commit d5f7652

Please sign in to comment.