diff --git a/build.sh b/build.sh index 4d09bf0..31cafdc 100644 --- a/build.sh +++ b/build.sh @@ -23,7 +23,6 @@ export UOMI_NAME=$OUTSCALE_REGION-$OMI_NAME # Generate OMI export OUTSCALE_X509CERT='/var/lib/jenkins/cert/cert.pem' export OUTSCALE_X509KEY='/var/lib/jenkins/cert/key.pem' -export PRODUCT_CODES=$OUTSCALE_PRODUCT_CODES if [ "$VOL_SIZE" == 0 ] || [ -z "$VOL_SIZE" ]; then unset PKR_VAR_volsize else diff --git a/config.pkr.hcl b/config.pkr.hcl index 0634dd3..cf260de 100644 --- a/config.pkr.hcl +++ b/config.pkr.hcl @@ -1,7 +1,7 @@ packer { required_plugins { outscale = { - version = ">= 1.1.2" + version = ">= 1.1.3" source = "github.com/outscale/outscale" } } diff --git a/windows-sql.pkr.hcl b/windows-sql.pkr.hcl index ddfbd78..6b27081 100644 --- a/windows-sql.pkr.hcl +++ b/windows-sql.pkr.hcl @@ -15,7 +15,7 @@ variable "volsize" { variable "product_codes" { type = string - default = "${env("PRODUCT_CODES")}" + default = "${env("OUTSCALE_PRODUCT_CODES")}" } packer {