Skip to content

Commit

Permalink
Merge pull request #3916 from xiagao/bz1752-host-user
Browse files Browse the repository at this point in the history
virtio_fs: use dd cmd to create file
  • Loading branch information
YongxueHong committed Sep 2, 2024
2 parents cde30ca + da82314 commit 050920b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qemu/tests/cfg/virtio_fs_host_owner_win.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
virtio_win_media_type = iso
cdroms += " virtio"
devcon_path = "WIN_UTILS:\devcon\${devcon_dirname}\devcon.exe"
create_file_cmd = 'echo test > %s'
# workaround to create a file instead of 'echo' cmd
create_file_cmd = 'dd if=/dev/random of=%s bs=1M count=20'
change_source_owner = chown test:test %s
change_source_perm = chmod o+w %s
variants:
Expand Down

0 comments on commit 050920b

Please sign in to comment.