How can I kill whatever process is using port 8080 so that I can vagrant up?

On MacOSX, I'm using Packer to build a Vagrant box so I need to continually bring it up and tear it down. I'm attempting to 'vagrant up', and receive the standard error because the port is in...

Always sleep on packer provisioning?

On my exploration of Packer I wonder the following: The docs state (as part of the getting started steps where a Ubuntu image is provisioned to AWS): Note: The sleep 30 in the example above is...

analysing packed file of unknown format, how to continue?

Im interested in taking a deeper look into the firmware of my Behringer X32 mixing console, so i downloaded the actual file from (http://www.behringerdownload.de/X32/X32_Firmware_2.10.zip) and...

Why can't I run "source" command from within a packer build?

I'm attempting to do a packer build. My source AMI is an Ubuntu box. I would like to install and run a python virtual environment. My provisioner is shown below. The apt-get works fine and it...

SSH timeout when creating vagrant box with packer

I use the following template to create vagrant box with packer. However, i get error "Build 'vmware-vmx' errored: Timeout waiting for SSH.". How to fix this? { "builders": [{ "type":...

How do I find out the boot command for Packer?

If I want to create a virtual machine image using Packer, one option is to download an operating system's ISO image and use that as the base for a custom setup. When doing this, one needs to...

PfSense Fedora L2TP VPN stop traffic flow on HTTP hit

I have configured L2TP VPN on PfSense 21.05-RELEASE (amd64) and fedora 33 as client, once VPN is connected I can ping remote host but as soon as I tied to hit HTTP traffic VPN stop flowing...

'concurently' is not recognized as an internal or external command, operable program or batch file

I try to run angular 2 project. There is package.json: { "name": "angular2-quickstart", "version": "1.0.0", "scripts": { "start": "concurrently \"npm run tsc:w\" \"npm run lite\" ", "tsc":...

Run ansible-playbook with a user-data script on an EC2 instance

I am using Packer with Ansible to create an AWS EC2 image (AMI). Ansible is used to install Java 8, install the database (Cassandra), install Ansible and upload an Ansible playbook (I know that I...

Accessing page directly by URL shows blank page in codeigniter search

I'm working on a project in which if I try to search query it shows results, but if I try to access same page through same URL it shows blank page.any help would be greatly appreciated. Thanks! My...

How to pass userdata to AWS Elastic beanstalk instance launched with custom AMI

I need the elastic beanstalk instances which is launched with my custom AMI to run some userdata i.e: bash scripts. I want to copy some files and execute my application .jar in user-data which is...

How to create a new packer image from an existing private packer image in Azure

I'm creating a packer image using these two links: https://www.packer.io/docs/builders/azure.html https://docs.microsoft.com/en-us/azure/virtual-machines/linux/build-image-with-packer I want to...

Packer Error message: Could not find a registered machine named 'packer-virtualbox-iso-#

Currently I am running Packer on Windows 10. I was trying to play around with Packer for custom installs for VM's. In my JSON file this are my configurations: { "builders": [ { ...

Artifactory : automation with packer and AWS

I am looking for a way to automate Artifactory deployment on AWS with packer. I want a simple configuration : AWS ALB + [ASG:just 1 EC2] Artifactory + EFS for Blob + AWS RDS PostgreSQL I wrote...

Pack file to MsLZ

How can I pack (compress) file(s) to the type MsLZ? I can't find any packers.

Generate mesh from one-color texture

I make a code to be able to draw and generate a sprite of this drawing. So I get a sprite with white background and my drawing (which is in a different color). My question : How could I remove...

Ansible task fails when executed manually with: "skipping: no hosts matched"

I am trying to follow along with a DevOps book (for SharePoint), it describes a way to provision different environments (dev,prod,test) by using vagrant and ansible together an automated,...

Packer | Ansible | NoCredentialsError: Unable to locate credentials

I am trying to execute ansible script via Packer to Obtain EFS facts. Within my packer.json I am passing AWS_ACCESS_KEY_ID/KEY/TOKEN. My facts.yml works fine if I execute it individually by...

How to set a packer variable from a terraform state

Working with openstack. I have a two steps process to build images with packer: (1) create infrastructure using terraform basically, just a network routed to the internet and some security group...

WinRM times out Packer, possible port issue? using MWrock templates

I am having trouble like so many people with getting winRM to work. Im using MWrock templates so in theory it should already be fixed with his scripts that I am using but unfortunately its just...

`import pandas` with an error of `ModuleNotFoundError: No module named 'pandas.msgpack'`

I always could run this code: import pandas as pd But I can't now, for some reason it raises: >>> import pandas as pd Traceback (most recent call last): File "<pyshell#0>", line 1, in...

Delete vcenter vm template from vsphere api

I m building an automated infrastructure and provisionning with terraform and ansible. I use terraform with VMware vSphere Provider. Before creating infrastructure, i build a vm template with...

How to switch between bluetooth and wifi in esp32

I am doing an autonomous car project, I need manual control as well as an autonomous function, so the manual control is done through wif using "gesture control" and for the autonomous control I...

Task watchdog got triggered./abort() was called at PC 0x400de07b on core 0

I am on an Autonomous GPS robot project. When I am running the below code after some time the esp32(devkit v1) reboots and this goes on repeating. Pause for Startup... 3 Pause for Startup......

How to append different pytest tests to the same junit xml file instead of overriding it?

I have the following function in a shell script: test_handler(){ FOLDER_NAME=$1 echo "running tests in: ${FOLDER_NAME} package" cd ${SOURCE_CODE_FOLDER}/${FOLDER_NAME} pipenv install...

.Net Framework 4.8 why oh why

I'm trying to install the .Net Framework 4.8 using Packer to customize an AWS 2016 Server Base image with a powershell script that is run during the packing process. However it seems to be a...

what does "Owner" field in packer "source_ami_filter" work on?

i am new packer and exploring few things on it while using it something like this came up "builders": [ { "type": "amazon-ebs", "profile" : "sumanthdev", "region":...

Packer: Create proxmox VM not Template

Can we create Proxmox virtual machine via Packer (Not a template)? Because in my case it creates a VM than stops it and makes it template. and I don't need a template I need...

Packer with vagrant post-processor "ovf file couldn't be found"

I'm new to packer. I've heard that you can add a vagrant post processor to get you an easy VM to test your new image in. Based on the examples and such I thought the code below would work....

Packer custom image build failed with ssh authentication error

I'm trying to build custom image for AWS EKS managed node group, Note: my custom image (ubuntu) already has MFA and private key based authentication enabled. I cloned github repository to build...