Questions tagged [packer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
942 views

Errors during downloading metadata for repository 'epel'

What specific syntax must be changed in the cloud-init startup script excerpt below in order to handle the error message shown below by retrying something else until it correctly works without ...
user avatar
  • 5,134
1 vote
1 answer
913 views

How to use json variable in shell script file?

I would like to use this json file to get jenkins version and java version numbers to include my script.sh file. How do we do that? I tried {{user `java_version`}} but it did not work. variable.json ...
user avatar
  • 13
0 votes
0 answers
136 views

Centos8 image creation through packer on azure results in to errors

Can somebody tell me what I am doing wrong here as I am unable to create the image? actually the commands, when I run on my host Centos machine, works fine but when I execute the same commands through ...
user avatar
0 votes
2 answers
277 views

Missing chrony package in Ubuntu Bionic

I am using HashiCorp Packer to build a new AWS AMI. I want to preinstall the NTP client Chrony (it's popular in our organization and it will get config support from people outside our team). But when ...
user avatar
  • 101
1 vote
0 answers
386 views

packer - hyperv - centos dracut initqueue timeout errors

facing errors while using packer to build an image with hyperv for centos8 attaching logs at ends its picking the ks.cfg, its getting the ip as well from dhcp, i could see in the rdsosreport.txt as ...
user avatar
  • 23
1 vote
0 answers
247 views

SSH server not booting in Packer QEMU Debian VM

I'm using Packer to boot a pre-installed Debian Buster image on QEMU to provision it for deployment, but whenever Packer boots the image it is unable to connect over SSH. The Debian image is the ...
user avatar
  • 11
3 votes
0 answers
589 views

QEMU: How to convert -net flags into -device & -netdev

I'm trying to emulate Raspberry Pi via QEMU and the following works for me: qemu-system-arm \ -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \ -boot c \ -cpu arm1176 \ -drive "...
user avatar