The software tool used for creating machine images for multiple virtualization platforms from a single configuration.
Questions tagged [packer]
30 questions
50
votes
5 answers
How do I create separate zip files for each selected file/directory in 7zip?
This is the internal zip packer from Total Commander:
However I want to use my 7zip packer. When I select 5 files, I get 5 separate .zip archives for each selected file. How do I do that in 7zip?
Grumpy ol' Bear
- 6,667
10
votes
4 answers
Truly delete all traces of a Vagrant machine
How do I remove all traces of a Vagrant box without having to go into the file system manually?
I am creating a custom box using Packer, building and destroying a lot of test cases. When finished with a test case, I run
vagrant destroy
The vagrant…
Lorem Ipsum
- 484
6
votes
1 answer
Are there any 64-bit Executable Packers?
Is there a good, free packer out there for 64-bit executables?
I'm looking for something like UPX, except that UPX doesn't seem to support 64-bit executables.
user541686
- 23,629
4
votes
1 answer
Modprobe floppy not found for Rocky Linux 8.4
On installing Rocky Linux 8.4 with Packer and vCenter 6.5., there is an error message that modprobe cannot find floppy module in the kernel folder.
Does this mean this distribution has no support for floppy disk?
J. Doe
- 481
3
votes
1 answer
Packer build of a virtualbox windows 7 ISO hangs
When I am building a win 7 box using packer, it hangs waiting for SSH to be available:
==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file:///vb/VBoxGuestAdditions.iso
==> virtualbox-iso:…
socgen hacker
- 437
2
votes
3 answers
How do I convert my existing zip files to 7z with 7-zip comand line?
I'd like to convert a couple thousand zip files to 7z, with maximum compression and multithreading enabled.
Also in another place. Like c:\temp\file.zip to f:\converted\file.7z
Grumpy ol' Bear
- 6,667
2
votes
2 answers
How to setup networking for Packer and Virtualbox to enable connection between host and guest?
This is driving me crazy. I am trying to build a Debian image from an ISO using Packer and the VirtualBox builder (on macOS, if that matters). This process involves the VM downloading a Debian preseed file from a HTTP server provided by Packer.
The…
fpbhb
- 121
2
votes
0 answers
ping: : Name or service not known - while pinging a valid ip
Well, This appears to be a known issue to many but I've applied many of the workarounds I found online but none of them worked!
I'm running packer from a docker container to build an image on openstack. I could get the ip address of the instance but…
harshavmb
- 121
2
votes
1 answer
Connect to Azure machine via public ip from terraform
I successfull made the virtual machine in Azure with Terraform ( from a Packer image). After the Virtual machine created, I would run some commands remotely on the newly created machine.
The machine has a piblic ip but that ip attached dynamically…
GergA
- 173
2
votes
0 answers
clone vagrant box into a fresh one
I built a vagrant box via using packer. It generates a .box file and I was able to use vagrant to bring it up. Now I would like to build a cluster of, say, 2 machines. So I'd like a new machine from ideally the same .box file. I google a bit and…
lang2
- 2,322
1
vote
1 answer
packer.io exit code of provisioning script
I got packer.io for building VM images. I provision VMs with shell script which uses puppet.
Now sometimes there is situation where this provisioning script fails to provision VM correctly.
I am using Rundeck to trigger provisioning by packer.
I…
David Strejc
- 101
1
vote
1 answer
Networking not working on Packer created Ubuntu VirtualBox VM
I'm trying to build a VirtualBox Ubuntu VM using Packer.
My image was successfully created and I configured it to use my Wi-Fi (Mac OS X AirPort) interface for bridged networking. However, after booting up the VM it only has the loopback interface…
dmayo3
- 11
1
vote
2 answers
How do I create seperate 7z files from each selected directory with 7zip command line?
FOR %i IN (*.*) DO 7z.exe a "%~ni.7z" "%i"
Does the job for each selected file.
However I've got tons of directories (with files inside them obviously) I need to pack.
Say I have d:\dir1, d:\dir2, d:\dir3, d:\dir4. I need 7zip to pack them this…
Grumpy ol' Bear
- 6,667
1
vote
1 answer
Packer Template incorrectly pre-pending EC2
A prefix of ec2 is being added in the packer AMI bake job which is causing some issues as we need the URL to be ebs-fips.us-east-1.amazonaws.com as per FIPS - Amazon Web Services (AWS) but currently is coming through as below:
amazon-ebs: error…
ianh11
- 21
- 1
- 5
1
vote
0 answers
VirtualBox: Cannot write compressed data block (VERR_DISK_FULL
I am trying to export a virtual-machine with packer, and after the installation process process is completed I am prompted the following error:
Error Message
My disk is not full - I have 750GB of free space, also I can generate other images with…
someone
- 11