Minor text/display improvements
This commit is contained in:
parent
01fca96f28
commit
2f992c5941
10
quickemu
10
quickemu
@ -266,8 +266,8 @@ function vm_boot() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# If there is a disk image, that appears to have an install
|
# If there is a disk image, assume there is an install and do not boot
|
||||||
# then do not boot from the iso/img
|
# from installation media.
|
||||||
iso=""
|
iso=""
|
||||||
img=""
|
img=""
|
||||||
fi
|
fi
|
||||||
@ -425,9 +425,9 @@ function vm_boot() {
|
|||||||
SSH_PORT=$(get_port 22220 9)
|
SSH_PORT=$(get_port 22220 9)
|
||||||
if [ -n "${SSH_PORT}" ]; then
|
if [ -n "${SSH_PORT}" ]; then
|
||||||
NET="${NET},hostfwd=tcp::${SSH_PORT}-:22"
|
NET="${NET},hostfwd=tcp::${SSH_PORT}-:22"
|
||||||
echo " - ssh: ${SSH_PORT}/tcp is connected. Login via 'ssh user@localhost -p ${SSH_PORT}'"
|
echo " - ssh: ssh user@localhost -p ${SSH_PORT}"
|
||||||
else
|
else
|
||||||
echo " - ssh: All ports for exposing ssh have been exhausted."
|
echo " - ssh: All ssh ports have been exhausted."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Have any port forwards been requested?
|
# Have any port forwards been requested?
|
||||||
@ -446,7 +446,7 @@ function vm_boot() {
|
|||||||
local SPICE_PORT=""
|
local SPICE_PORT=""
|
||||||
SPICE_PORT=$(get_port 5930 9)
|
SPICE_PORT=$(get_port 5930 9)
|
||||||
if [ -z "${SPICE_PORT}" ]; then
|
if [ -z "${SPICE_PORT}" ]; then
|
||||||
echo " - SPICE: All spice ports have been exhausted."
|
echo " - SPICE: All SPICE ports have been exhausted."
|
||||||
if [ "${OUTPUT}" == "none" ] || [ "${OUTPUT}" == "spice-app" ]; then
|
if [ "${OUTPUT}" == "none" ] || [ "${OUTPUT}" == "spice-app" ]; then
|
||||||
echo " ERROR! Requested SPICE display, but no SPICE ports are free."
|
echo " ERROR! Requested SPICE display, but no SPICE ports are free."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user