act-environments
act-environments copied to clipboard
Packer script halts due to systemd prompt
Hey! 👋 Thanks for working on this tool, it's awesome!
Partway through packer build -var github_feed_token=XXX images/linux/ubuntu1804.json, I get this prompt from Docker about systemd that expects a TTY:
docker: Setting up systemd (237-3ubuntu10.39) ...
docker:
docker: Configuration file '/etc/systemd/system.conf'
docker: ==> File on system created by you or by a script.
docker: ==> File also in package provided by package maintainer.
docker: What would you like to do about it ? Your options are:
docker: Y or I : install the package maintainer's version
docker: N or O : keep your currently-installed version
docker: D : show the differences between the versions
docker: Z : start a shell to examine the situation
docker: The default action is to keep your current version.
Is there a workaround for this?
Weird. What version of packer are you using? What OS are you running packer from?
I'm also facing this issue.
Packer version below
$ packer --version
1.5.4
@cplee I'm going to follow up on this later today. My apologizes for not providing that info up front! I should know better 🙄
Update I'm running with packer 1.5.4 on macOS 10.15.3.
@cplee I tried the following versions I'm running Ubuntu 18.04.4
1.2.0: Fails with the following error
Failed to parse template: 1 error(s) occurred:
* Unknown root level key in template: 'sensitive-variables'
The versions below fail because of the prompt. 1.3.0 1.4.0 1.5.0 1.5.4
@jclem
Weird. What version of packer are you using? What OS are you running packer from?
Android