Questions tagged [packer]

16 questions
4
votes
1 answer

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 throwing an error? Command That triggers Error: The…
CodeMed
  • 5,079
  • 45
  • 100
  • 147
3
votes
0 answers

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…
Radek Simko
  • 131
  • 3
1
vote
1 answer

I need help with packer (vagrant box) build(er) config/scripts so UEFI boot order is properly configured

Setup Host OS: Manjaro XFCE x86_64 Apps: packer (plugins: virtualbox-iso), Guest OS: Arch Linux Hypervisor: Virtualbox Architecture: x64 I have built a Vagrant box using Packer. My goal is to have the VMbox run one…
Folaht
  • 962
  • 5
  • 21
  • 36
1
vote
1 answer

Packer-build VM does not start: Unable to rename file '(null).new' to '(null)': Bad address

Setup Host OS Manjaro XFCE x86_64 Apps packer (plugins: qemu) virt-install virt-viewer virt-manager Guest OS: Arch Linux Hypervisor: QEMU KVM Architecture: x64 Machine Type: qc35 EFI Firmware Code:…
Folaht
  • 962
  • 5
  • 21
  • 36
1
vote
0 answers

is it correct to configure virtualenv in that location (manjaro)

I'm using the "Vanessa" manjaro system. I need to use virtualenv but it is not starting to create the environment.export. I'm following this very common pattern on linux-based systems. sudo nano ~/.bashrc export WORKON_HOME=~/.virtualenvs source…
cardoso
  • 11
  • 3
1
vote
1 answer

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 file { "region": "us-east-1", …
M.Turan
  • 13
  • 5
1
vote
0 answers

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 well but still the dracut initqueue remains the…
snehid
  • 23
  • 1
  • 3
1
vote
0 answers

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 default cd install fully updated and with…
Cirrith
  • 11
  • 1
0
votes
1 answer

I build a vagrant VM (Arch Linux + EFI) using Hashicorp packer, but the screen flickers

Setup Host OS: Manjaro XFCE x86_64 Apps: packer (plugins: virtualbox-iso), Guest OS: Arch Linux Hypervisor: Virtualbox Architecture: x64 This is my issue: My packer build file (qemu build removed for simplicity…
Folaht
  • 962
  • 5
  • 21
  • 36
0
votes
1 answer

Packer-plugin-qemu, Box is of type raw, despite having chosen qcow2 format

After doing a packer build, when I check it's file format, qemu-img and virt-install both tell me that the file format is raw, despite having chosen qcow2 format. qemu-img command right after packer build command $ sudo qemu-img info…
Folaht
  • 962
  • 5
  • 21
  • 36
0
votes
1 answer

VM boots into UEFI Interactive Shell with the filesystem missing. (custom virt-install boot parameters)

My Setup Host OS: Manjaro XFCE x86_64 Apps: packer (plugins: qemu), virt-manager, virt-install virt-viewer Guest OS: Arch Linux Hypervisor: QEMU KVM Architecture: x64 Machine Type: q35 EFI…
Folaht
  • 962
  • 5
  • 21
  • 36
0
votes
1 answer

Automated Ubuntu Desktop Build - DNS Failure on boot

I am trying to create an automated build of an Ubuntu Desktop 22.04.2 using the official guide (https://github.com/canonical/autoinstall-desktop) and then use ansible to configure it. The automated build works as expected, but the ansible…
0
votes
1 answer

VM boots into UEFI Interactive Shell with the filesystem missing

Setup Host OS Manjaro XFCE x86_64 Apps packer (plugins: qemu) virt-install virt-viewer virt-manager Guest OS: Arch Linux Hypervisor: QEMU KVM Architecture: x64 Machine Type: qc35 EFI Firmware Code:…
Folaht
  • 962
  • 5
  • 21
  • 36
0
votes
0 answers

How to achieve FIPS 140-2 with AWS CloudFormation & Packer

I am following this guide for AWS FIPS: https://aws.amazon.com/compliance/fips/ I have added successfully been able to FIPS on AWS AMI EC2 for ASG using the following guide in CloudFormation:…
0
votes
0 answers

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 packer result into error. JSON file: { …
zuri_nahk
  • 13
  • 1
  • 4
1
2