File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -521,7 +521,7 @@ _EOF_
521
521
--name=${VMNAME} \
522
522
--type=dir \
523
523
--target=${VMDIR} /${VMNAME} \
524
- || die " Could not create storage pool."
524
+ || die " Could not create storage pool. VM may already exist. Try removing first. "
525
525
526
526
# Add custom MAC Address if specified
527
527
NETWORK_PARAMS=" $( join ' ,' \
@@ -622,7 +622,10 @@ _EOF_
622
622
fi
623
623
624
624
printf " \n"
625
- output " SSH to ${VMNAME} : 'ssh ${LOGIN_USER} @${IP} ' or 'ssh ${LOGIN_USER} @${VMNAME} '"
625
+ output " SSH to ${VMNAME} :"
626
+ output " ssh ${IP} "
627
+ output " ssh ${LOGIN_USER} @${IP} "
628
+ output " ssh ${LOGIN_USER} @${VMNAME} "
626
629
CONSOLE=$( virsh domdisplay ${VMNAME} )
627
630
# Workaround because VNC port number shown by virsh domdisplay is offset from 5900
628
631
if [ " ${GRAPHICS} " = ' vnc' ]
You can’t perform that action at this time.
0 commit comments