diff options
Diffstat (limited to 'scripts/install/install-image-existing')
-rwxr-xr-x | scripts/install/install-image-existing | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing index 491f6499..13af9bf8 100755 --- a/scripts/install/install-image-existing +++ b/scripts/install/install-image-existing @@ -57,7 +57,11 @@ NEWVER=`dpkg -l --root=${CD_SQUASH_ROOT} | grep "^.. vyatta-version " | awk '{p NEWNAME=$NEWVER echo -n "What would you like to name this image? [$NEWNAME]: " -read response +if [ "$VYATTA_PROCESS_CLIENT" == "gui2_rest" ]; then + response=$NEWNAME +else + read response +fi if [ -n "$response" ]; then badchars=`echo $response | sed -e 's/[a-zA-Z0-9\.\_+-]//g'` if [ -n "$badchars" ]; then |