Automated Unattended Uninstall? #3454
-
Is there a way to uninstall homebrew in an automated way? For example, the EC2 Mac instances come pre-installed with brew. However, some organizations forbid brew to be installed. I would want a way to automate the uninstallation of brew when creating an AMI with something like packer. The issue that I see that might arise is that you are prompted for a password during uninstall. How would you bypass that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The same way you do on install. |
Beta Was this translation helpful? Give feedback.
-
https://stackoverflow.com/questions/12608293/how-to-setup-a-sudo-askpass-environment-variable |
Beta Was this translation helpful? Give feedback.
The same way you do on install.
SUDO_ASKPASS