Configure LIVE_USERNAME variable for use in 900-virtualbox.
authorRichard Nelson <unixabg@gmail.com>
Sat, 18 Jan 2014 03:09:32 +0000 (21:09 -0600)
committerRichard Nelson <unixabg@gmail.com>
Sat, 18 Jan 2014 03:09:32 +0000 (21:09 -0600)
scripts/config/900-virtualbox

index b2b81be..bd20c06 100755 (executable)
@@ -51,6 +51,9 @@ Configure_virtualbox ()
                                VDINAME="$(echo ${_PARAMETER#live-config.virtualbox=} | awk -F: '{ print $3 }')"
                                echo "live-config.virtualbox options passed are ACTION=${ACTION}, IMAGEPATH=${IMAGEPATH}, VDINAME=${VDINAME} ."
                                ;;
+                       live-config.username=*|username=*)
+                               LIVE_USERNAME="${_PARAMETER#*username=}"
+                               ;;
                esac
        done