Commit Graph

27 Commits

Author SHA1 Message Date
Matt Kotsenas cf8e2bdeb1
Clarify sysprep log message in Azure example
The Azure example uses an inline PowerShell script to wait for sysprep to complete. While waiting, it prints out the current setup state *if the state is **not** complete*, otherwise it breaks and shuts down.

This logging behavior can be confusing because the last message logged says that sysprep is not completed. To clarify things, move the log statement ahead of the "if" check so the result of each polling operation is logged.
2019-09-18 18:49:11 -07:00
Jesse Mazzella 07922de6e7
fix typo 2019-07-02 08:09:36 -07:00
Amrita Dutta 78f001431e add example config file 2019-06-19 07:18:08 +00:00
Megan Marsh 3e73abc93a refresh line endings 2019-05-17 14:58:20 -07:00
Christopher Boumenot 3dfbe45fcd azure: sysprep after agent is ready 2019-01-08 10:17:33 -08:00
Hariharan Jayaraman 3ca4a7208f Updated Samples and added a windows quick start as well 2018-05-18 08:12:43 -07:00
Hariharan Jayaraman b3882e0cae Updates to review comments 2018-05-11 10:00:31 -07:00
Hariharan Jayaraman 13c0b0b370 Added warning for VHD creation and updated samples 2018-05-10 13:15:35 -07:00
Diego Casati de429da5f9 add expect_disconnect otherwise the build fails 2018-04-18 12:05:27 -07:00
Diego Casati aa737a5862 Add a FreeBSD example 2018-04-18 10:08:00 -07:00
Hariharan Jayaraman f6b1349bf3 fixing marketplace sample 2018-03-12 21:09:53 -07:00
Christopher Boumenot 1ef491d4c8 incorporate reviewer feedback 2018-03-08 22:43:26 -08:00
Christopher Boumenot 1da0ce688f azure: sysprep improvements for Windows examples 2017-09-29 12:39:52 -07:00
Christopher Boumenot b6a4c35e1a Update windows_custom_image.json
Add missing comma.
2017-08-27 14:39:23 -07:00
Kinnaird McQuade 61289bec0e Update windows_custom_image.json
object_id is not present in the file. Added it
Required, as per the docs: https://www.packer.io/docs/builders/azure.html#object_id
The other windows example shows this properly: https://github.com/hashicorp/packer/blob/master/examples/azure/windows.json
Similar to: https://github.com/hashicorp/packer/issues/4803
2017-08-26 16:26:25 -04:00
Christopher Boumenot c09f8b84b9 azure: fit and finish
* More unit testing to assert customer's configuration.
 * Further reduce the options that are needed to power an Azure build.
   This seems like a much more manageable level.
 * Update all of the examples to use a more current VM sku.
 * Add an example for RHEL.
 * Move from OpenSuSE to SuSE.
 * Update the docs.
2017-06-26 11:13:39 -07:00
Christopher Boumenot fd69efbb85 Add custom image examples 2017-06-26 11:13:38 -07:00
Christopher Boumenot d64c68af60 azure: Use a more long term image sku
Move from 16.04.0-LTS to 16.04-LTS, which should track the latest LTS
changes better.

Move to a recommended VM size.
2017-02-24 10:56:18 -08:00
Christopher Boumenot 0c04b3a46a Update docs for deprovision and defaults
Change the Windows samples to include sysprep.

Document the default user name for Linux, and why it was chosen.

Document temp_compute_name and temp_resource_group_name, and provide a
reason why you would want to override them.

Document the deprovision process for Windows and Linux.

Document the skip_clean option as it pertains to Linux deprovision.
2017-02-23 10:43:12 -08:00
Christopher Boumenot f8508aa138 azure: Examples of a custom image 2016-08-08 09:59:49 -07:00
Christopher Boumenot ece0a78990 azure: tag all resources 2016-08-02 11:25:03 -07:00
arafato 9f35d86f99 fixed typo that breaks validation 2016-07-08 14:24:07 +02:00
Paul Meyer 163da48345 builder/azure-arm: Make tenant_id optional
Look up tenant id if not specified by the user
2016-06-23 10:23:09 -07:00
Christopher Boumenot 902b2583fa Update samples. 2016-05-05 13:40:17 -07:00
Chris Bednarski 1aaa129918 Change AZURE to ARM to be consistent with Terraform 2016-04-19 16:57:51 -07:00
Ward Vandewege 5e2d361774 Fix up azure-arm examples: make sure the variable names line up. 2016-03-27 15:02:02 -04:00
Chris Bednarski d77b1612d4 Added example templates for Azure 2016-03-14 20:08:35 -07:00