Skip to content

Commit

Permalink
Allow providing extra kernel boot args
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Dec 14, 2023
1 parent 542f561 commit 9011338
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ if [ -z "${KERNEL_BOOT_ARGS:-}" ]; then
fi
fi

if [ -n "${EXTRA_KERNEL_BOOT_ARGS:-}" ]; then
KERNEL_BOOT_ARGS="${KERNEL_BOOT_ARGS} ${EXTRA_KERNEL_BOOT_ARGS}"
fi

KERNEL_BOOT_ARGS="${KERNEL_BOOT_ARGS} $(network_config "${GUEST_IP}" "${TAP_IP}" "$(hostname)" eth0)"

echo "Virtual CPUs: ${VCPU_COUNT}"
Expand Down

0 comments on commit 9011338

Please sign in to comment.