X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fsite%2Fvm%2Fvm.sh;h=b35784d12a2796c034d6b0f8d77b3cbce543f192;hb=878ea0c739ece152793328a795780c734e4ac9b2;hp=20cae733e6dacc5bfaceb185c9b40fedb245fc75;hpb=143aff16339c50dfcdab3ba37b4258cf54623564;p=icn.git diff --git a/deploy/site/vm/vm.sh b/deploy/site/vm/vm.sh index 20cae73..b35784d 100755 --- a/deploy/site/vm/vm.sh +++ b/deploy/site/vm/vm.sh @@ -24,7 +24,7 @@ function build_source { # attempting to encrypt it twice below if [[ -f ${FLUX_SOPS_PRIVATE_KEY} ]]; then gpg --import ${FLUX_SOPS_PRIVATE_KEY} - sops_decrypt_site ${SCRIPTDIR}/site.yaml + sops_decrypt ${SCRIPTDIR}/site.yaml fi # Generate user password and authorized key in site YAML @@ -39,7 +39,7 @@ function build_source { # Encrypt the site YAML create_gpg_key ${FLUX_SOPS_KEY_NAME} - sops_encrypt_site ${SCRIPTDIR}/site.yaml ${FLUX_SOPS_KEY_NAME} + sops_encrypt ${SCRIPTDIR}/site.yaml ${FLUX_SOPS_KEY_NAME} # ONLY FOR TEST ENVIRONMENT: save the private key used export_gpg_private_key ${FLUX_SOPS_KEY_NAME} >${FLUX_SOPS_PRIVATE_KEY}