diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-09 18:45:08 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-09 18:45:08 -0400 |
commit | 6e804bd78217434ebc444ed6f094f95ba90663d0 (patch) | |
tree | 8f2399a1f7fee2cf1244f8cd7828be537e86fd6c | |
parent | 21d1b117febdcb2510cf1348dbf2398ac713ffe4 (diff) |
tidy
-rwxr-xr-x | osi-run | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,6 +13,6 @@ trap "rmdir -- ${mountpoint@Q}" EXIT sudo unshare --mount sh -c "mount --make-rslave / && mount ${image@Q} ${mountpoint@Q} && install -Dm755 /dev/stdin ${mountpoint@Q}/etc/osi-run" - "${qemu[@]}" -drive media=disk,format=raw,if=virtio,file="$1" + "${qemu[@]}" -drive media=disk,format=raw,if=virtio,file="$image" sudo unshare --mount sh -c "mount --make-rslave / && mount ${image@Q} ${mountpoint@Q} && cat ${mountpoint@Q}/var/log/osi-run.out; exit \$(cat ${mountpoint@Q}/var/log/osi-run.status)" } |