Skip to content

Commit

Permalink
feat: Add host model
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed May 29, 2023
1 parent aaba184 commit 7c85e35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run/serial.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ set -Eeuo pipefail
: ${HOST_DEBUG:=''}
: ${HOST_SERIAL:=''}
: ${GUEST_SERIAL:=''}
: ${HOST_MODEL:=''}
: ${HOST_VERSION:=''}
: ${HOST_TIMESTAMP:=''}

Expand All @@ -32,6 +33,7 @@ HOST_ARGS+=("-cpu_arch=${HOST_CPU}")

[ -n "$HOST_MAC" ] && HOST_ARGS+=("-mac=${HOST_MAC//:/-}")
[ -n "$HOST_BUILD" ] && HOST_ARGS+=("-build=${HOST_BUILD}")
[ -n "$HOST_MODEL" ] && HOST_ARGS+=("-model=${HOST_MODEL}")
[ -n "$HOST_SERIAL" ] && HOST_ARGS+=("-hostsn=${HOST_SERIAL}")
[ -n "$GUEST_SERIAL" ] && HOST_ARGS+=("-guestsn=${GUEST_SERIAL}")
[ -n "$HOST_VERSION" ] && HOST_ARGS+=("-version=${HOST_VERSION}")
Expand Down

0 comments on commit 7c85e35

Please sign in to comment.