Skip to content
Snippets Groups Projects
Commit 5081d46d authored by Bob Mottram's avatar Bob Mottram
Browse files

Improve post image creation instructions

parent 4d61630f
No related branches found
No related tags found
No related merge requests found
......@@ -232,11 +232,29 @@ echo "
Image was created.
You will be able to log into it with:
"
if [[ $IMAGE_TYPE != "virtualbox"* && $IMAGE_TYPE != "qemu"* ]]; then
echo " ssh $USERNAME@$DEFAULT_DOMAIN_NAME -p 2222
ssh $USERNAME@$DEFAULT_DOMAIN_NAME -p 2222
Password: $PASSWORD
"
else
if [[ $IMAGE_TYPE != "qemu"* ]]; then
echo " Username: $USERNAME
Password: $PASSWORD
"
else
if [[ $IMAGE_TYPE != "qemu-x86_64"* && $IMAGE_TYPE != "qemu-amd64"* ]]; then
echo "qemu-system-i386 $(ls ${PROJECT_NAME}*.qcow2)"
else
echo "qemu-system-x86_64 $(ls ${PROJECT_NAME}*.qcow2)"
fi
echo "
Username: $USERNAME
Password: $PASSWORD
"
fi
fi
ls -lh ${PROJECT_NAME}*.img ${PROJECT_NAME}*.sig ${PROJECT_NAME}*.bz2 ${PROJECT_NAME}*.vdi ${PROJECT_NAME}*.qcow2
# record the default login credentials for later use
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment