From 041478db094d3ce61830b6a9271ae888b6d1af2c Mon Sep 17 00:00:00 2001 From: Pete Goldsmith Date: Sun, 18 Sep 2022 00:46:05 +1000 Subject: [PATCH] Homebrew won't prompt (#54) --- templates/base.pkr.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base.pkr.hcl b/templates/base.pkr.hcl index 55863bd..4909e26 100644 --- a/templates/base.pkr.hcl +++ b/templates/base.pkr.hcl @@ -48,7 +48,7 @@ build { } provisioner "shell" { inline = [ - "yes '' | /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"", + "/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"", "echo \"export LANG=en_US.UTF-8\" >> ~/.zprofile", "echo 'eval \"$(/opt/homebrew/bin/brew shellenv)\"' >> ~/.zprofile", "echo \"export HOMEBREW_NO_AUTO_UPDATE=1\" >> ~/.zprofile",