]> git.ipfire.org Git - ipfire-2.x.git/commit
oci: user-data: Try to decode base64 content
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 21 Feb 2022 17:24:56 +0000 (17:24 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 21 Feb 2022 21:35:03 +0000 (21:35 +0000)
commitd5538121d7b61f03e53a2fe48ed81728019df411
treef4a6261986e66701d40a6cc01ecb1f3e3f8e45c9
parentefb999548a2f0540067314f43434712fd446e42e
oci: user-data: Try to decode base64 content

Terraform only supports sending any shell scripts encoded in base64
which is however not required by Oracle. Therefore we have to test if
the script is encoded or not.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
src/initscripts/helper/oci-setup