mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56:58 +02:00
Merge pull request #94 from flatcar-linux/sayan/rename-to-pro
build_library: Rename the images to use pro instead of premium
This commit is contained in:
commit
f521ca99bb
@ -36,7 +36,7 @@ VALID_IMG_TYPES=(
|
|||||||
digitalocean
|
digitalocean
|
||||||
exoscale
|
exoscale
|
||||||
azure
|
azure
|
||||||
azure_premium
|
azure_pro
|
||||||
hyperv
|
hyperv
|
||||||
niftycloud
|
niftycloud
|
||||||
cloudsigma
|
cloudsigma
|
||||||
@ -271,10 +271,10 @@ IMG_azure_DISK_FORMAT=vhd
|
|||||||
IMG_azure_DISK_LAYOUT=azure
|
IMG_azure_DISK_LAYOUT=azure
|
||||||
IMG_azure_OEM_PACKAGE=oem-azure
|
IMG_azure_OEM_PACKAGE=oem-azure
|
||||||
|
|
||||||
## azure premium
|
## azure pro
|
||||||
IMG_azure_premium_DISK_FORMAT=vhd
|
IMG_azure_pro_DISK_FORMAT=vhd
|
||||||
IMG_azure_premium_DISK_LAYOUT=azure
|
IMG_azure_pro_DISK_LAYOUT=azure
|
||||||
IMG_azure_premium_OEM_PACKAGE=oem-azure
|
IMG_azure_pro_OEM_PACKAGE=oem-azure
|
||||||
|
|
||||||
## hyper-v
|
## hyper-v
|
||||||
IMG_hyperv_DISK_FORMAT=vhd
|
IMG_hyperv_DISK_FORMAT=vhd
|
||||||
|
@ -44,7 +44,7 @@ img=src/flatcar_production_image.bin
|
|||||||
enter lbunzip2 -k -f "/mnt/host/source/${img}.bz2"
|
enter lbunzip2 -k -f "/mnt/host/source/${img}.bz2"
|
||||||
|
|
||||||
PRIVATE_UPLOAD_OPT=""
|
PRIVATE_UPLOAD_OPT=""
|
||||||
if [[ "${FORMAT}" == 'azure_premium' ]]
|
if [[ "${FORMAT}" == 'azure_pro' ]]
|
||||||
then
|
then
|
||||||
PRIVATE_UPLOAD_OPT="--private"
|
PRIVATE_UPLOAD_OPT="--private"
|
||||||
UPLOAD_ROOT=${UPLOAD_PRIVATE_ROOT}
|
UPLOAD_ROOT=${UPLOAD_PRIVATE_ROOT}
|
||||||
|
Loading…
Reference in New Issue
Block a user