diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-01-29 07:05:33 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-01-29 07:05:33 -0500 |
commit | ecb3ae1ed2a66c0ddc5be25f6cba9fe6c0a0345a (patch) | |
tree | b1e4684832f75b5553efce456f26feec5e126f2f /scripts/install/install-image | |
parent | 42acee1d418bea6de4fd5f983852bec52e66c05e (diff) | |
download | vyatta-cfg-system-ecb3ae1ed2a66c0ddc5be25f6cba9fe6c0a0345a.tar.gz vyatta-cfg-system-ecb3ae1ed2a66c0ddc5be25f6cba9fe6c0a0345a.zip |
Refine getting the vyos version.
Diffstat (limited to 'scripts/install/install-image')
-rwxr-xr-x | scripts/install/install-image | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-image b/scripts/install/install-image index d093d80d..fd10d0c3 100755 --- a/scripts/install/install-image +++ b/scripts/install/install-image @@ -63,7 +63,7 @@ fetch_iso_by_url () fi # This is for statistics collection - vyos_version=`cat /opt/vyatta/etc/version` + vyos_version=`cat /opt/vyatta/etc/version | awk '{print $2}'` filename="${TEMP_DIR}/${NEW_ISO##*/}" curl -L -H "User-Agent: VyOS/$vyos_version" $auth -f -o $filename $NEW_ISO |