build_library: Rename the images to use pro instead of premium

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
This commit is contained in:
Sayan Chowdhury 2020-09-21 20:31:41 +05:30 committed by Margarita Manterola
parent 8667d7955c
commit 27b399f003
2 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@ VALID_IMG_TYPES=(
digitalocean
exoscale
azure
azure_premium
azure_pro
hyperv
niftycloud
cloudsigma
@ -271,10 +271,10 @@ IMG_azure_DISK_FORMAT=vhd
IMG_azure_DISK_LAYOUT=azure
IMG_azure_OEM_PACKAGE=oem-azure
## azure premium
IMG_azure_premium_DISK_FORMAT=vhd
IMG_azure_premium_DISK_LAYOUT=azure
IMG_azure_premium_OEM_PACKAGE=oem-azure
## azure pro
IMG_azure_pro_DISK_FORMAT=vhd
IMG_azure_pro_DISK_LAYOUT=azure
IMG_azure_pro_OEM_PACKAGE=oem-azure
## hyper-v
IMG_hyperv_DISK_FORMAT=vhd

View File

@ -44,7 +44,7 @@ img=src/flatcar_production_image.bin
enter lbunzip2 -k -f "/mnt/host/source/${img}.bz2"
PRIVATE_UPLOAD_OPT=""
if [[ "${FORMAT}" == 'azure_premium' ]]
if [[ "${FORMAT}" == 'azure_pro' ]]
then
PRIVATE_UPLOAD_OPT="--private"
UPLOAD_ROOT=${UPLOAD_PRIVATE_ROOT}