Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

terraform and packer for ESXi (free license) lab environment

I run ESXi and I run terraform (TF) to built ubuntu VM’s in it. Within main.tf I kick-off the VM that runs the setup based on PXE while booting the VM guest. So far so good.

The system set’s up itself automatically based on linux kickstart file coming from the PXE installation but I want to do further steps after the installation was sucfessful.

I think there is where “packer” would come into play. Is there a way (in my case) that packer would somehow poll until SSH is becoming available on the Linux boxes?

And how would that look like to kick-off “packer” in TF in my case.

(Source for TF and ESXi support: https://github.com/josenk/terraform-provider-esxi)

Any help kindly appreciated! ndee

question from:https://stackoverflow.com/questions/65845766/terraform-and-packer-for-esxi-free-license-lab-environment

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.6k users

...