Skip shutdown

瀏覽次數:24 次
跳到第一則未讀訊息

valli nayagam

未讀,
2018年3月7日 上午11:02:462018/3/7
收件者:Packer
Hi All

Is it possible to skip the shutdown operation after build and provisioning the machine? 

I'm not sure whether my understanding is valid, but looking for some answers.

Thanks in advance.

Regards
Vallinayagam. K

Rickard von Essen

未讀,
2018年3月7日 中午12:22:062018/3/7
收件者:packe...@googlegroups.com
No in general it's not. Which builder do you use and what's the reason for this? 

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/19e1a8e4-95d8-446b-bc09-432fdce5e3ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

valli nayagam

未讀,
2018年3月7日 中午12:56:532018/3/7
收件者:Packer
I'm using vmware-iso builder and would like to use the machine for other operations without power on again.

Example:
Step 1: Building Debian server and installing an app using ansible provision. 
Step 2: Run automation scripts and tests against above provisioned machine.

Regards
Vallinayagam.K


On Wednesday, 7 March 2018 22:52:06 UTC+5:30, Rickard von Essen wrote:
No in general it's not. Which builder do you use and what's the reason for this? 
On Mar 7, 2018 17:02, "valli nayagam" <vall...@gmail.com> wrote:
Hi All

Is it possible to skip the shutdown operation after build and provisioning the machine? 

I'm not sure whether my understanding is valid, but looking for some answers.

Thanks in advance.

Regards
Vallinayagam. K

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.

Rickard von Essen

未讀,
2018年3月7日 下午1:35:362018/3/7
收件者:packe...@googlegroups.com
Then I would end my provisioning with a file provisioner which downloads a marker (empty) file and then a script that exits with 1. And then wrap the Packer build in a script that checks if the marker file exists.

To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/3ff6adc6-04c6-4795-a9f7-ee7747cab193%40googlegroups.com.

Alvaro Miranda Aguilera

未讀,
2018年3月8日 清晨6:51:412018/3/8
收件者:packe...@googlegroups.com
However it feels that you can think into a 2 step process

packer does step 1 and you get a intermediate box
step 2 publish the tested box




For more options, visit https://groups.google.com/d/optout.



--
Alvaro

回覆所有人
回覆作者
轉寄
0 則新訊息