fix: add host address to spice command in output

This commit is contained in:
fuzikowski 2026-07-10 22:35:43 +02:00
parent 82df57dadf
commit ce38a57358
1 changed files with 1 additions and 1 deletions

View File

@ -1522,7 +1522,7 @@ function configure_ports() {
SPICE+=",port=${spice_port},addr=${SPICE_ADDR}"
echo "spice,${spice_port}" >> "${VMDIR}/${VMNAME}.ports"
echo "${spice_port}" > "${VMDIR}/${VMNAME}.spice"
echo -n " - SPICE: On host: spicy --title \"${VMNAME}\" --port ${spice_port}"
echo -n " - SPICE: On host: spicy --title \"${VMNAME}\" --host ${SPICE_ADDR} --port ${spice_port}"
if [ "${guest_os}" != "macos" ] && [ -n "${PUBLIC}" ]; then
echo -n " --spice-shared-dir ${PUBLIC}"
fi