Re: [packer] Skip shutdown

2018-03-08 Thread Alvaro Miranda Aguilera
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



On Wed, Mar 7, 2018 at 7:35 PM, Rickard von Essen <
rickard.von.es...@gmail.com> wrote:

> 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.
>
> On 7 March 2018 at 18:56, valli nayagam  wrote:
>
>> 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"  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.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/packer-tool/19e1a8e4-95d8-446b-bc09-432fdce5e3ba%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/packer-tool/3ff6adc6-04c6-4795-a9f7-ee7747cab193%40googlegroups.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/CALz9Rt8-T8POz0ALNFPzX0tRCiGWmQQzeMYqhr
> P1wJ%3DHFGKtEA%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAHqq0ewOBBFSWW1Hsh37Ft2LGtjAcc1nUTiYm5sM8b%2BRD7M1tA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [packer] Skip shutdown

2018-03-07 Thread Rickard von Essen
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.

On 7 March 2018 at 18:56, valli nayagam  wrote:

> 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"  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.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/packer-tool/19e1a8e4-95d8-446b-bc09-432fdce5e3ba%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
> 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+unsubscr...@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
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt8-T8POz0ALNFPzX0tRCiGWmQQzeMYqhrP1wJ%3DHFGKtEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [packer] Skip shutdown

2018-03-07 Thread valli nayagam
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"  
> 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 .
> 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.
>
>
>

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Re: [packer] Skip shutdown

2018-03-07 Thread Rickard von Essen
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"  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+unsubscr...@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.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt9C9ibn0onSmu0KDS5evH-ixQzFc-f7GuwnZodGdr9F1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[packer] Skip shutdown

2018-03-07 Thread valli nayagam
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+unsubscr...@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.