Skip to main content

All Questions

Tagged with
0 votes
2 answers
1k views

Add Windows VM to domain using Packer

I'm trying to create Windows images for usage on Azure using Packer. As part of this process, I need to put some files, which are located on an existing VM in Azure, in the image. My idea was to add ...
Pieter's user avatar
  • 101
1 vote
0 answers
437 views

How to end-to-end provision a virtual machine including OS on ESXi standalone using Terraform?

For a small environment I'm tasked to create automated infrastructure deployment for a couple of virtual machines running on a single ESXi host (without vCenter). The VMs should run CentOS 8 and I ...
Daniel's user avatar
  • 165
0 votes
1 answer
2k views

Disconnected NIC on customized & deployed Ubuntu 18.04 templates

Within my vSphere 6.7 U3 environment, I have an Ubuntu 18.04 template generated by packer which I am then using Terraform to deploy two copies of. I am running into an issue where the deployed VMs ...
stevenmiller's user avatar
1 vote
1 answer
284 views

Partially Immutable infrastructure in AWS with Packer?

I'm a very young systems engineer/contractor sysadmin with a bandwidth-heavy workload that just moved to an area where I get 2mbps download and 20 upload on my internet connection. I'm moving my ...
user avatar
0 votes
1 answer
2k views

packer unable to parse json due to invalid character

I want to use packer to build an ami. The AMI was initially built by an aws_instance resource in terraform. It contains the following user_data <powershell> winrm quickconfig -q winrm set ...
Anthony Kong's user avatar
  • 3,518
-2 votes
1 answer
2k views

Create a VM using terraform on an Azure image created by Packer

Team, I need to provision an Azure VM (Windows/Linux) and I followed the below link to create the image first. https://docs.microsoft.com/en-us/azure/virtual-machines/windows/build-image-with-packer ...
Learning_Terraform's user avatar
6 votes
2 answers
3k views

How to use terraform.io to change the image of a stateful server without downtime or data loss?

Say I have application servers, database servers, and a few dns-round-robin load balancers. All this powered by images created with Packer with deployment managed with Terraform. How do I change the ...
jpadvo's user avatar
  • 183