diff --git a/base.tf.j2 b/base.tf.j2 index b62e55b..c09118e 100644 --- a/base.tf.j2 +++ b/base.tf.j2 @@ -595,7 +595,7 @@ resource "kubernetes_deployment" "main" { name = "homebrew-init" image = "homebrew/brew:latest" # /bin/sh -c '' - command = ["sh", "-c", "test -d /mnt/linuxbrew/.linuxbrew/bin || cp -a /home/linuxbrew/. /mnt/linuxbrew/"] + command = ["sh", "-c", "test -e /mnt/linuxbrew/.linuxbrew || cp -a /home/linuxbrew/.linuxbrew/ /mnt/linuxbrew/.linuxbrew"] image_pull_policy = "{{ image_pull_policy }}" volume_mount {