From 04414276f3428c8ca52924d665afe7b68d59ab98 Mon Sep 17 00:00:00 2001 From: Lewis Kang Date: Fri, 13 May 2016 09:38:32 +0800 Subject: [PATCH] modify the comment and error message --- builds/amd64/installer/legacy/builds/amd64-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builds/amd64/installer/legacy/builds/amd64-installer.sh b/builds/amd64/installer/legacy/builds/amd64-installer.sh index 6a92de78..c2427083 100644 --- a/builds/amd64/installer/legacy/builds/amd64-installer.sh +++ b/builds/amd64/installer/legacy/builds/amd64-installer.sh @@ -277,10 +277,10 @@ installer_standard_gpt_install() DEV=$1; shift if [ -z $DEV ]; then - # Install on the same block device as ONIE + # Install NOS to the same block device as ONIE image DEV=$(blkid | grep ONIE-BOOT | awk '{print $1}' | sed -e 's/[1-9][0-9]*:.*$//' | sed -e 's/\([0-9]\)\(p\)/\1/' | head -n 1) [ -b "$DEV" ] || { - echo "Error: Unable to determine block device of ONIE install" + echo "Error: Unable to determine the block device to install NOS" return 1 } fi