Commit Graph

631 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
DanHam 3fc2defb6d
Refactor the export step for Hyper-V ISO and VMCX builders
8 years ago
Mathieu Tarral edcc0b3853 shell-local: expose PACKER_HTTP_ADDR env var
8 years ago
Megan Marsh 0df33cd032 fix relative pathing versus iso checksum dir to work even if user has provided a relative path for the iso_url which is relative to the directory where Packer is run.
8 years ago
Megan Marsh d0f0da6626 allow absolute paths to isos in checksum files
8 years ago
M. Marsh e5a63a674e
Merge pull request #6422 from DanHam/fix-gh-vmsecureboot
8 years ago
M. Marsh baaca808e8
Merge pull request #6412 from hashicorp/fix_config_validation_bug_windows_shell_local
8 years ago
DanHam 297f6b85ec
Use Get-Command over Get-Help to check for SecureBootTemplate parameter
8 years ago
Simon Hulme 475e79a251 Fixed SecureBootTemplate not being passed through to PS cmdlet
8 years ago
Megan Marsh 4a7953f93a found a config validation bug where packer crashes instead of throwing a validation error if a windows-style path is provided to a provisioner on linux
8 years ago
Jordan Borean efa9021974
Check if hyper-v addresses is an array before slicing it
8 years ago
Giovanni Tirloni 28095cf027 Do not return error on initial HEAD request
8 years ago
Giovanni Tirloni b7ea0b44fc HTTPDownloader - Fix invalid error handling
8 years ago
M. Marsh a012f70e71
Merge pull request #6251 from hashicorp/do_winrm_shell_local
8 years ago
Megan Marsh 3afca6905b remove duplicate assignmnet
8 years ago
Matthew Hooker 6a769f08d8
regenerate boot command code
8 years ago
Matthew Hooker 788418cff2
Add unit test to show that we handle tars safely
8 years ago
Megan Marsh 846f94c964 implement template variable for accessing WinRM password in either environemnt variables or directly in execute_command or inline commands.
8 years ago
M. Marsh 62e1323577
Merge pull request #5956 from hashicorp/dedupe_shell_local
8 years ago
Megan Marsh d1e31c0f23 use if/else to clarify code
8 years ago
Megan Marsh 969201a2d4 handle minor shell-local PR suggestions and corrections
8 years ago
Megan Marsh 1fdf763d0f fancier logging
8 years ago
M. Marsh edb5c1f50d
Merge pull request #6243 from camjjack/hyper-v-gui
8 years ago
WaaZaa666 b747877222
Fixing #6267, multiple hyper-v disks
8 years ago
Unknown 29c4b4436d Changes requested in PR #6243
8 years ago
Unknown fc734b6bd9 Using vmconnect to display gui for hyper-v
8 years ago
M. Marsh 5871b8242b
Merge pull request #6101 from adarobin/azurecompatible
8 years ago
Stefan Henseler 6f00596053 Adds config option to specify hyper-v secure boot template
8 years ago
DanHam d9d8b93c14
Remove tmp file created by common/ test. Avoid possible race condition.
8 years ago
M. Marsh 7c46e3d89c
Merge pull request #6207 from gtirloni/issue-6203
8 years ago
Matthew Hooker 5e6e12cacd
Use fmt to convert whatever's in error to a string.
8 years ago
Matthew Hooker 0a1842140b
Display build error when on-error=ask|abort
8 years ago
Megan Marsh 1bea658e16 fix command and inline calls on windows
8 years ago
Megan Marsh fabd1a6517 windows cmd env vars
8 years ago
Megan Marsh 9651432378 preserver BC for people using 'command' option
8 years ago
Megan Marsh dd183f22d9 update docs and add warnings around WSL limitations
8 years ago
Megan Marsh 51bcc7aa13 add new feature for telling shell-local whether to use linux pathing on windows; update docs with some examples.
8 years ago
Megan Marsh e983a94a88 fix default windows bash call for shell-local provisioner and move chmod command from the execute_command array into the portion of code where we actually generate inline scripts, sparing users the need to think about this modification which Packer should really handle on its own
8 years ago
Megan Marsh 5da4377f21 first pass at docs update
8 years ago
Megan Marsh 854d6fb141 add tests making sure post-processor has backwards compatability
8 years ago
Megan Marsh f799003b66 tighten up shell-local config validation
8 years ago
Megan Marsh 479d36734d consolidate shell-local defaulting of InlineShebang and ExecuteCommand to the config validation
8 years ago
Megan Marsh d304234725 fix tests
8 years ago
Megan Marsh 67739270bb pull temp file writing into its own function for easier testing
8 years ago
Megan Marsh 6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too
8 years ago
Megan Marsh c7c66bedcb set inline to an empty array, rather than nil
8 years ago
Megan Marsh 926327beba deduplicate all validation and interpolation of the shell-local config, sharing options between shell-local provisioner and post-processor. Maintain backwards compatibility with shell-local provisioner.
8 years ago
Megan Marsh 616b41e58f deduplicate the nearly identical communicators for the shell-local provisioner and post-processor, moving single communicator into a new common/shell-local module
8 years ago
M. Marsh bf6dc932d5
Merge pull request #6219 from jborean93/hyper-v-ip
8 years ago
DanHam 7e478f650e
Remove tmp files created by common/ tests
8 years ago
Jordan Borean 14e41fad7e
Hyper-V: Add support retrieving IP for Server 2008
8 years ago
Giovanni Tirloni 413d13c411
Handle HTTP download errors
8 years ago
Adam Robinson 3aebd5f462 Add use_fixed_vhd_format Hyper-V ISO option
8 years ago
Matthew Hooker a3bf2c786a
Use expression sequence generator in tests.
8 years ago
M. Marsh 69c7e2d51d
Merge pull request #6144 from hashicorp/winrm_password_fix
8 years ago
Matthew Hooker e4bd30e53d
fix bug with empty boot command.
8 years ago
Matthew Hooker b5a97e468f
fix test
8 years ago
Matthew Hooker 7e9af8247a
fix 2 byte scancodes for pc-xt VMs.
8 years ago
Matthew Hooker 675eae1e92
flush scancodes when we wait
8 years ago
Matthew Hooker 374d8f089f
better log message
8 years ago
Matthew Hooker 31d04f1945
remove outdated comment
8 years ago
Matthew Hooker df6224d04e
fix vnc config
8 years ago
Matthew Hooker aa69bdf74e
Perform validation of boot command.
8 years ago
Matthew Hooker 7d43324359
add menu key.
8 years ago
Matthew Hooker e9e27941cc
sort keycode lists
8 years ago
Matthew Hooker c6299972b9
s/boot_command/bootcommand/
8 years ago
Matthew Hooker 7990966a09
fix boot command config struct name
8 years ago
Matthew Hooker 408eba88ad
flatten boot command config and implement for vmware
8 years ago
Matthew Hooker 9a8acbbcab
negative wait WIP
8 years ago
Matthew Hooker add7e8acb9
Stop sending boot commands when context canceled.
8 years ago
Matthew Hooker 94129b7fe3
we're using PC-XT (set1) not PC-AT
8 years ago
Matthew Hooker a46a7afa20
Remove old tests.
8 years ago
Matthew Hooker e2e7bc65fd
Make special keys case insensitive.
8 years ago
Matthew Hooker cba4d3235f
cleanup
8 years ago
Matthew Hooker bdb1eee7d8
Implement new parser for HyperV boot command
8 years ago
Matthew Hooker f9ad264f4d
Comments
8 years ago
Matthew Hooker 81d127768c
Add key press interval to virtualbox.
8 years ago
Matthew Hooker 59376294ef
Maximize scancode throughput.
8 years ago
Matthew Hooker 9b7704c714
Implement new parser for Parallels boot command
8 years ago
Matthew Hooker 99d61920d0
Abstract vbox driver into PC-AT driver.
8 years ago
Matthew Hooker e4af71858f
Implement new parser for Virtualbox boot command
8 years ago
Matthew Hooker 1c0af28662
Some cleanup and comments.
8 years ago
Matthew Hooker 673245afcf
Replace boot command parser with PEG parser.
8 years ago
M. Marsh f5c031baf9
Merge pull request #5941 from synax/hyper-v-disk-block-size
8 years ago
Stefan Henseler b8bf421dc2 Fixes missing diskblocksize parameter for gen1 vms
8 years ago
Megan Marsh 3afb243f11 use build name to ensure that winrm password and other shared state is not overwritten if two builders need the password in the same packer run.
8 years ago
Seth Vargo b17b333e29
Add a common package for specifying useragent and adopt that everywhere
8 years ago
Hannu Piki 3ffaf551c0 Fixing Hyper-V ISO builder CopyExportedVirtualMachine PowerShell
8 years ago
Stefan Henseler 03f0b4aa11 Fixes minor typo
8 years ago
Stefan Henseler d31e35075e Removes obsolete code
8 years ago
Megan Marsh d689e6b4d3 allow users of AWS to use the dynamically-generated admin password which we use as the winRM password as an elevated password in the Powershell provisioner, as well as an environment variable in same provisoner.
8 years ago
Josh Soref 5178dd36e8 spelling: regular
8 years ago
Stefan Henseler a6b0bd2927
Merge branch 'master' into hyper-v-disk-block-size
8 years ago
Stefan Henseler 103186af86 Adds Support to configure hyper-v disk block size
8 years ago
Anthony Allen f3c361de6b Fully qualify hyper-v powershell commands
8 years ago
SwampDragons 7d5d62d748
Merge pull request #2906 from arizvisa/GH-2377
8 years ago
Ali Rizvi-Santiago 9eb2f37429 Ack! Forgot to include the test-fixtures/SomeDir/myfile.txt file...
8 years ago
Ali Rizvi-Santiago d4b00b722a Removed an extra '/' from the TestFileExistsLocally test in common/config_test.go
8 years ago
Ali Rizvi-Santiago efc97dbda2 Fixed TestFileExistsLocally tests in common/config_test.go so that they're actually being run. Added a non-existent-protocol:// test.
8 years ago
Ali Rizvi-Santiago c366a1e160 Inverted the logic of FileExistsLocally as suggested by @SwampDragons as remote URLs are assumed to exist locally.
8 years ago
Ali Rizvi-Santiago c98a074f0d Renamed common/config.go's SupportedURL to SupportedProtocol as suggested by @SwampDragons.
8 years ago
Ben Phegan 3c88e787df
Merge branch 'master' into hyperv_mac_address
8 years ago
Matthew Hooker 8cd403425e
test fixes WIP
8 years ago
Matthew Hooker 5d48d658b4
Wire context through misc steps
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Ali Rizvi-Santiago 0e0b467da7 Forgot to check some errors during the adding of files to the floppy disk. This gives users some better information in case packer is unable to add a file...like if there's not enough disk space available.
8 years ago
Ali Rizvi-Santiago 97fc9c02a5 Grr...missed the case that actually mattered on linux.
8 years ago
Ali Rizvi-Santiago f9572cb244 Fixed a bug on linux related to forgetting to check the platform for the forward-slash prefix.
8 years ago
Ali Rizvi-Santiago 41f4dc3f3d umm...gofmt -w on common/config{,_test}.go from linux instead of windows(?)
8 years ago
Ali Rizvi-Santiago 7cd5d576d9 Updated common/config.go's FileExistsLocally implementation to use the LocalDownloader interface for determining the real file path.
8 years ago
Ali Rizvi-Santiago 8a102a42a0 gofmt -w on common/config{,_test}.go
8 years ago
Ali Rizvi-Santiago 15079a99dc Fixed common/config_test.go tests for DownloadableURL to avoid writing to disk on the windows platform. Also added tests for relative paths/uris.
8 years ago
Ali Rizvi-Santiago 95f60f6153 Modified common/config.go to accommodate some of the new DownloadableURL policies made by the PR #5761 merge.
8 years ago
Ali Rizvi-Santiago 50e9cd2ca7 Initial fixes of common/config.go after rebase before refactoring of test-cases so that they don't require root to run.
8 years ago
Ali Rizvi-Santiago c17f827e1d Split up DownloadableURL() into it's individual components: SupportedURL(), DownloadableURL(), and ValidatedURL(). Updated all instances of DownloadableURL() to point to ValidatedURL(). Reverted the tests that are based on un-supported protocols.
8 years ago
Ali Rizvi-Santiago 3cf448f6ec Reverted previously removed additions of tests that check for ftp:// or nonexistent-protocol:// using DownloadableURL. DownloadableURL's responsibility is not to have inherent knowledge of protocols that are available, but to format an invalid url/path to a valid url/path.
8 years ago
Ali Rizvi-Santiago 4a1fb0d262 Grrr...gofmt -w common/*.go
8 years ago
Ali Rizvi-Santiago 5d97b105a8 Removed implementation of the ftp protocol and the usage of cheggaaa's progress-bar as suggested by @SwampDragons. Replaced some of the old smoke-tests that were based on the ftp-protocol non-existing with a "non-existent://" protocol that's guaranteed to not exist.
8 years ago
Ali Rizvi-Santiago 5a3e98b529 Updated the testcases in common/download_test.go to pass a non-nil progress-bar due to the removal of a pointer type in commit ed2e341b7d7f49a063dd5018701b4ae548b8ec14 from yesterday.
8 years ago
Ali Rizvi-Santiago ab4490b967 Consolidated progress bar's appearance into the GetDefaultProgressBar() function. Updated dependency for cheggaaa's progress-bar from the gopkg.in location to the better maintained one on github.com.
8 years ago
Ali Rizvi-Santiago 8c6efe336c Added second argument for custom-formatted progress-bar to NewDownloadClient in common/download_test.go. This second parameter was added as a result of commit f0bd9018f3e318caafb1fe7d46e04c470e07c092 which lets you customize the progress-bar format.
8 years ago
Ali Rizvi-Santiago 69e5eec1ce Consolidated the progress-bar's format into common/step_download.go. Removed DownloadClient's PercentProgress callback since cheggaaa's progress-bar already does that.
8 years ago
Ali Rizvi-Santiago d85883582f Changed a critical error to a non-critical one when dealing with the strange .CopyFile flag in common/download.go.
8 years ago
Ali Rizvi-Santiago c978e27f0f grr. removed an assignment that was dead in common/download.go.
8 years ago
Ali Rizvi-Santiago 5a4ce2165c Modified common/download_test.go to not test the smb:// uri on platforms other than windows. Added an immediate platform error to SMBDownloader.Download as opposed to letting .toPath return it (which would have left the structure partially initialized).
8 years ago
Ali Rizvi-Santiago 4783b6508e Fix common/download_test.go to avoid formatting the volume name to a hidden windows share when not on windows.
8 years ago
Ali Rizvi-Santiago b1ff14714b go fmt
8 years ago
Ali Rizvi-Santiago 11ff4439a6 Moved the setting of HTTPDownloader's current progress to after the object actually gets instantiated. ;)
8 years ago
Ali Rizvi-Santiago 0fa6c3782e Added a progressbar using gopkg.in/cheggaaa/pb.v1 as per #3578 for all the DownloadClients in common/download.go.
8 years ago
Ali Rizvi-Santiago 2f1104625d Fixed some of the unit-tests in common/ due to the changes made in {config,download}.go
8 years ago
Ali Rizvi-Santiago 6170e24ecb Refactored the code a bit to move the CopyFile hack out of DownloadClient and instead into each protocol.
8 years ago
Ali Rizvi-Santiago 60831801a7 Added the file, ftp, and smb downloaders to common/download.go
8 years ago
Ali Rizvi-Santiago da9c94b345 Added some testcases for the various file uri transforms to download_test.go
8 years ago
Ali Rizvi-Santiago 281dd1258a Added proper support for downloading via a Windows UNC path or a relative uri.
8 years ago
SwampDragons fb730cf521
Merge pull request #5761 from hashicorp/fix_5713
8 years ago
Megan Marsh bdd186fa2b add tests for fileexistslocally helper function
8 years ago
Megan Marsh 3ace5bb91b simplify FileExistsLocally
8 years ago
Megan Marsh 55ddbf4765 sloppy copypasta
8 years ago
Megan Marsh 898dadd53c re-add this block. I still don't think we need it but I don't want to risk breaking things with this bugfix.
8 years ago
Megan Marsh a04a921c2d add UNC path to test cases, so I can try to enable it in future
8 years ago
Megan Marsh 154973241f add a bunch of windows filepath tests
8 years ago
Megan Marsh 40f0cc6dfe I don't think this is needed anymore
8 years ago
Megan Marsh 2838a2371d disambiguate url variable from url library
8 years ago
Megan Marsh 216c44b153 fix FileExistsLocally
8 years ago
Megan Marsh a3d5d40f78 reformat TestDownloadableURL into a table test to allow adding more URLS
8 years ago
Megan Marsh 4f3b470804 add helper function to manage validation of filepaths created using DownloadableURL
8 years ago
Megan Marsh 54bd057bb9 fix nasty edge case where we can't find guest additions on windows if they are on a different drive
8 years ago
Ben Phegan c338cb79d0 Initial commit of feature to allow MAC address specification for HyperV builders
9 years ago
SwampDragons 72afc2eab3
Merge pull request #5632 from VladRassokhin/do-not-donwload-twice
9 years ago
Vladislav Rassokhin af8a0c46c5 Do not re-download iso multiple times from different urls
9 years ago
Vijaya Bhaskar Reddy Kondreddi b7e3f37b44 Add support for differential disk
9 years ago
Megan Marsh 3c20176dbb runtime imported but not used
9 years ago
Megan Marsh 4fb8a27879 remove the actual offending code
9 years ago
Megan Marsh 74a4cc04fe fix regression :(
9 years ago
SwampDragons 2f9a6a99bd
Merge pull request #5578 from paboldin/do-5577
9 years ago
Megan Marsh 0efcb1bba2 dont error in the downloadableURL function; save validation for preflight steps
9 years ago
Megan Marsh 3a9dfb5b18 better
9 years ago
Megan Marsh e45a006d61 clearly state that url is wrong at validation stage of build
9 years ago
Pavel Boldin 853b04420c iso_config: allow for subdirs in hash sum files
9 years ago
Matthew Hooker 68fa09c308
Merge pull request #5512 from hashicorp/fix5501
9 years ago
Matthew Hooker f64fa7b5ba
Merge pull request #5491 from BenPhegan/hyperv-disk_additional_size
9 years ago
Matthew Hooker a66f51f025
Merge pull request #5517 from PatrickLang/hyperv-gen2-autocheckpoint
9 years ago
Patrick Lang 6d5f75e118 run gofmt
9 years ago
Patrick Lang 95d82b4637 Fixing auto checkpoints for generation 2 VMs. Resolves #5506
9 years ago
Matthew Hooker 812fd12a0b
move trimspace to powershell exit check
9 years ago
Matthew Hooker fb098d045d
builder/virtualbox-ovf retry removing VM.
9 years ago
Matthew Hooker 0be02ab217
hyper-v: Don't error while checking for admin permissions.
9 years ago
Ben Phegan 12fc928e1d Initial commit of Hyper-V disk_additional_size capability. Support a
9 years ago
Vijaya Bhaskar Reddy Kondreddi 4f6a207441 go fmt
9 years ago
Taliesin Sisson efa62e1550 Can specify an iso, vhd or vhdx for download. If it is a vhd or vhdx it is used as the hard drive for spinning up a new machine, importing an exported virtual machine or cloning a virtual machine.
9 years ago
Taliesin Sisson 452fcbd9a1 Only attach dvd drive if there is one
9 years ago
Taliesin Sisson 429e1bc3ad Adding an ISO is now optional for hyperv vmcx
9 years ago
Taliesin Sisson 6fd7f0877d Initial check in to add a builder that can clone existing hyper v machines
9 years ago
Matthew Hooker 150b1522f4 Merge pull request #5374 from PatrickLang/hyperv-checkpoint
9 years ago
Patrick Lang 6acdb9d148 Disabling automatic checkpoints
9 years ago
Sander Saares 028c941b77 Enable use of separate temp path for Hyper-V VHD
9 years ago
Rickard von Essen 97498f80be
core: iso_checksum_url should strip query param
9 years ago
Matthew Hooker 94d7a4ce8d
post-processor/vagrant-cloud: try upload once
9 years ago
Petrik van der Velde aa33740ffb Removing the check for administrator rights from the script that sends keystrokes to Hyper-V.
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 35578d9ed1
remove unnecessary type conversions
9 years ago
Matthew Hooker 79287d7e47
simplify some code
9 years ago
Matthew Hooker 230079f73a
spell fixes
9 years ago
Matthew Hooker 0ad6b169bc
builder/virtualbox: retry removing floppy controller
9 years ago
Matthew Hooker 262c8dc24a
WIP fix #4670
9 years ago
Matthew Hooker 22d1322bd9
always check for an error first when walking a path
9 years ago
Matthew Hooker 56115ee270 Merge pull request #4398 from mitchellh/portinclusive
9 years ago
Matthew Hooker d2e59e4e92
set PACKER_HTTP_ADDR env var when available.
9 years ago
Chris Bednarski ee2d636840 Improve delay between key events
9 years ago
Matthew Hooker 36b436b2b7
make port range inclusive
9 years ago
Taliesin Sisson 3824ea157d Merge pull request #4317 from Tadas/fix-ps-noprofile
9 years ago
Tadas Medisauskas 088d3d1ac8 Add -NoProfile switch
10 years ago
Mikhail Zholobov 57d07f227a
Add "iso_target_extension" option for all local *-iso builders
10 years ago
Matthew Hooker 45d4cf8b36
move powershell module to common
10 years ago
Taliesin Sisson e5510873bb Added file with correct line endings
10 years ago
Vasiliy Tolstov 7f391a94aa unbreak glob pattern in floppy_files
10 years ago
Matthew Hooker d920b3fbf4 run gofmt
10 years ago
Matthew Hooker 97688a96ba Merge pull request #4004 from mitchellh/parseCheckSumFilePanic
10 years ago
Ali Rizvi-Santiago 1347b11f06 Fixed a bug due to some missing filepath.ToSlash calls in StepCreateFloppy.Add.
10 years ago
Matthew Hooker 54651e0005 fix parseCheckSumFile panic
10 years ago
Rickard von Essen 3c8dabba9e Fixed formatting
10 years ago
Rickard von Essen 5e96709ee9 Merge pull request #2919 from arizvisa/floppy-recurse
10 years ago
Matthew Hooker a9abe43325 builder/amazon: add retry login when creating tags.
10 years ago
Ali Rizvi-Santiago 86c00490e9 Renamed any and all instances of the word "FloppyContents" to "FloppyDirectories".
10 years ago
Orivej Desh 4fe86244a5 Improve -on-error descriptions
10 years ago
Orivej Desh 639bf356aa Fail on unknown values of -on-error
10 years ago
Orivej Desh 389603cc0f Allow upper case input to -on-error=ask
10 years ago
Orivej Desh 115cb5080f Document NewRunner
10 years ago
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
10 years ago
Ali Rizvi-Santiago fbe305cf4e Renamed floppy_contents to floppy_dirs as requested by rickard.von.essen@gmail.com
10 years ago
Ali Rizvi-Santiago 915b7f371a Added missing argument to step_create_floppy_test.go
10 years ago
Ali Rizvi-Santiago a3f0308e92 Re-implemented the support for the floppy_files keyword in order to remain backwards-compatible with templates using the old syntax.
10 years ago
Ali Rizvi-Santiago 7d360d4e67 Added support for recursively including subdirectories in common/step_create_floppy.go
10 years ago
Ricard Clau acededfc6e tests actually test the floppies
10 years ago
Chris Bednarski 1d31d2d8d4 Merge pull request #3674 from yoctocloud/file_scheme
10 years ago
Vasiliy Tolstov 4392f6df1c common/download.go: allow to specify relative path for file scheme
10 years ago
Vasiliy Tolstov 82c63bd723 iso_checksum: fix parsing with absent newline
10 years ago
Rickard von Essen abb2d92c7e Removed ftp/ftps schemas since they don't work.
10 years ago
Rickard von Essen bbade5d8ae Added "iso_checksum_url" and keep the functionality of "iso_checksum"
10 years ago
Vasiliy Tolstov 00fcc3dfdc allow to specify checksum via url
10 years ago
Chris Bednarski 24dc798cfb Revert "Prevalidate Hardware Specs on Linux"
10 years ago
Jake Champlin eda84cb2d3 Prevalidate Hardware Specs on Linux
10 years ago
Mark Peek 7f149e595d Refactor http server config into common
11 years ago
Mark Peek cdcffecc2d Refactor builder ISO options
11 years ago
Chris Bednarski 1764238c0b Added [DEBUG] prefix to log messages
11 years ago
Chris Bednarski 6e8c6a15ad Implement fix, add comments so it's more apparent why we're doing special logic
11 years ago
Chris Bednarski 7ecfb057ff Added test case to catch deleting local source file when checksum doesn't match
11 years ago
Chris Bednarski 424ee65866 Added a log message when we use a local file instead of downloading one
11 years ago
Chris Bednarski 70af28be47 Added cake fixture for testing file:/// downloads
11 years ago
Mitchell Hashimoto 0416939c08 common: always reset progress to 0 for downloads
11 years ago
Mitchell Hashimoto 117579808f common: add the current progress to the total size
11 years ago
Mitchell Hashimoto 944b4bf46c common: delete file if checksum fails
11 years ago
Mitchell Hashimoto 2f530534d2 common/download: resume test
11 years ago
Mitchell Hashimoto aa7d3b7841 Merge pull request #2245 from vtolstov/iso
11 years ago
Mitchell Hashimoto bf456f35f9 common: download client tests
11 years ago
Mitchell Hashimoto 897888fde3 common: fix potential panic case
11 years ago
Vasiliy Tolstov d98de209cb fallback to not ranged request if server lacks HEAD
11 years ago
Mitchell Hashimoto 2d13db300c packer: HookProvision errors if no communicator
11 years ago
Vasiliy Tolstov 382fa01e6f resume download after fail
11 years ago
Mitchell Hashimoto a1ceb5a7ef common: remove StepConnectSSH
11 years ago
Mitchell Hashimoto 71d8c6610a Merge pull request #1968 from bhcleek/master
11 years ago
Mitchell Hashimoto 1e853f9f1f common: revert some changes from #2121 for Windows
11 years ago
Clint Shryock 04e174fae8 builder/amazon: Properly return error code on ssh errors
11 years ago
Mitchell Hashimoto f6f9cca7ce Merge pull request #2189 from mitchellh/b-download-extension
11 years ago
Mitchell Hashimoto 23a48d6619 go fmt
11 years ago
Mitchell Hashimoto e65e2d104a common: StepDownload can force an extension
11 years ago
jszwedko b1497b951c code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh
11 years ago
Mitchell Hashimoto 44008c321b Merge pull request #2121 from josharian/no-scrub-empty
11 years ago
Mitchell Hashimoto adb6b43dd8 common: remove unused config methods
11 years ago
Mitchell Hashimoto dd0a775500 common/command: delete
11 years ago
Josh Bleecher Snyder 2fe785ed35 common: remove dead code
11 years ago
Josh Bleecher Snyder 76c8cfd498 common: don't scrub ""
11 years ago
Grégoire Pineau 97c56347a1 Better error reporting when a config key in template is Unknown
11 years ago
Emil Hessman 952ae5161b common: fix formatting directives in tests
11 years ago
Billie H. Cleek 2184892f8a do not request a pty
11 years ago
Seth Vargo 347f02a7f2 Merge pull request #1402 from jasonberanek/858-issue
12 years ago
Mitchell Hashimoto 8dbe0f065c Remove version from "packer" package
12 years ago
Mitchell Hashimoto 42e9e734b9 common: don't wait SSH on first try
12 years ago
Mitchell Hashimoto 01abbc4460 common/ssh: error if encrypted key is used
12 years ago
Mitchell Hashimoto 76a8221636 builder/*: extract key path to ssh.Signer
12 years ago
Jason A. Beranek 56ec6bf7af common/command/template,packer/template: fix build name ConfigTemplate processing [GH-858]
12 years ago
Mitchell Hashimoto 34834057c3 common: add test for empty val
12 years ago
Mitchell Hashimoto 5c5d62733f fmt
12 years ago
Ross Smith II 3d960ccc69 go fmt
12 years ago
Ross Smith II e422d45f92 Allow wildcards and directories for floppy_files parameter
12 years ago
Mitchell Hashimoto 5cd2cfa563 comment so future-mitchell knows what I've done
12 years ago
Mitchell Hashimoto ba05119a75 common: user variable conversion to non-string types works [GH-1079]
12 years ago
Mitchell Hashimoto d5981c69f2 common: config strings to slices [GH-950]
12 years ago
Mitchell Hashimoto 5dec2ddb9c common: weakly decode the PackerConfig
12 years ago
Mitchell Hashimoto fa339fc275 get more proper SSH package usage in
12 years ago
Mitchell Hashimoto 5fac6c79c4 fmt
12 years ago
Mitchell Hashimoto e84e5e4f2c Merge branch 'update-ssh-package' of github.com:higebu/packer into higebu-update-ssh-package
12 years ago
Mitchell Hashimoto 8395d0e97a common: tests for ChooseSTring
12 years ago
Mitchell Hashimoto 7191c1f250 common: Fix URL parsing issues on Windows
12 years ago
Mitchell Hashimoto 159587daf4 Merge pull request #768 from devcamcar/openstack-env-support
12 years ago
Fabian Ruff 2a3393ca84 fix error handeling when creating a floppy
12 years ago
higebu f087ce16dc Fix the build problem by updating ssh package
12 years ago
Ross Smith II 27491f93f8 use old ssh code until higebu's branch is ready, see #1019
12 years ago
Mitchell Hashimoto 1087b5def8 common: clarify debug mode [GH-907]
12 years ago
Devin Carlen bef63846af Add support for standard OpenStack environment variables
12 years ago
Mark Rushakoff 4548495116 StepDownload uses packer version as user agent
13 years ago
Mark Rushakoff 9e5c0f6c6a HTTPDownloader uses UserAgent from DownloadConfig
13 years ago
Mitchell Hashimoto 107e47fe25 update commands to new user var syntax
13 years ago
Mitchell Hashimoto 4c6800f5a3 common: process user variables in non-string config decodes [GH-598]
13 years ago
Mitchell Hashimoto 48fb1f9dfb common: fix tests
13 years ago
Mitchell Hashimoto a380391b0e common: allow files that don't exist to be URLs [GH-683]
13 years ago
Mitchell Hashimoto 21bb0674f2 builder/docker: ctrl-C works during provisioning
13 years ago
Mitchell Hashimoto 483cda18c1 builder/vmware: make things more Go-like
13 years ago
Doug MacEachern a828a9a064 builder/vmware: new driver to support building images directly on ESX
13 years ago
Mitchell Hashimoto 24db112b79 common: downloads can be HTTPS [GH-587]
13 years ago
Jonas Pfenniger 440e966c6e Simplifies the implementation of common/uuid
13 years ago
Jonas Pfenniger fa0a0a895f Fixes missing entropy in the uuid package.
13 years ago
Mitchell Hashimoto 5ecec18258 common/uuid: add test, albeit weak
13 years ago
Mitchell Hashimoto 79f7936d66 Remove dependency on identifier package, use time ordered UUID [GH-541]
13 years ago
Matthew Hooker 5315b19822 common/config: config filter function [GH-521]
13 years ago
Patrick Lucas 7f0916b646 An SSH timeout should be treated as an error
13 years ago
Mitchell Hashimoto 877dfb81fe common: Allow user variables to be used for ints/bools/etc. [GH-418]
13 years ago
Mitchell Hashimoto 0b830c92ba common: Use new multistep API
13 years ago
Mitchell Hashimoto 0dc347c70d packer: implement Cancel in ProvisionHook
13 years ago
Mitchell Hashimoto 9f559cb25c common: detect ctrl-c in Provision
13 years ago
Mitchell Hashimoto 01e998a81c common: support SHA512 as checksum type [Gh-356]
13 years ago
Mitchell Hashimoto c753946c84 builder/vmware: ability to not request a PTY for SSH [GH-270]
13 years ago
Mitchell Hashimoto cf175b4733 communicator/ssh: respect interrupts by not looping on retyr [GH-327]
13 years ago
Mitchell Hashimoto 4c86547796 common/command: error if only/except points to bad build
13 years ago
Mitchell Hashimoto 9cc4137a19 common/command: more tests for filtering builds
13 years ago
Mitchell Hashimoto 6d9265a244 packer: add mock implementations and more template tests
13 years ago
Mitchell Hashimoto 8bbed8656a common: use HTTP proxy if available from env [GH-252]
13 years ago
Mitchell Hashimoto 9e01b5a478 common: detect drive letter with windows file URLs [GH-284]
13 years ago
Mitchell Hashimoto 349a83d6d6 common: Remove Template, in packer now
13 years ago
Mitchell Hashimoto 562ea28a79 builder/virtualbox: switch download guest additions to use new common
13 years ago
Mitchell Hashimoto bb352e5011 common: Add new StepDownload to DRY up downloads
13 years ago
Mitchell Hashimoto 71664cb34e common: return -1 download percent if download hasn't started [GH-288]
13 years ago
Mitchell Hashimoto 5166f511d2 common/json: add Unmarshal with method with syntax errors
13 years ago
Mitchell Hashimoto 398b8fc8d4 common/command: add -var-file support for user vars
13 years ago
Mitchell Hashimoto 56c36c12ed command/build,validate: pass user vars to Prepare
13 years ago
Mitchell Hashimoto 915c8cebae common/command: parse the "-var" flag
13 years ago
Mitchell Hashimoto 229eab0623 common/command: rename BuildFilters to BuildOptions
13 years ago
Mitchell Hashimoto 089df41aac common/command: introduce this package for common cmmand stuff
13 years ago
Mitchell Hashimoto 670c6c5c16 common: UserData => UserVars
13 years ago
Mitchell Hashimoto bbced21c36 common: PackerConfig understands user vars
13 years ago
Mitchell Hashimoto 4c2ada1e30 common: clone template during validation to avoid unnecessary children
13 years ago
Mitchell Hashimoto 7883d937a6 common: validation and generating unique template names
13 years ago
Mitchell Hashimoto 56728e6509 common: support user data
13 years ago
Mitchell Hashimoto 53d0095cb2 common: functions for template processing
13 years ago
Mitchell Hashimoto 2b41f05848 common: replace windows file URL backslash with forward slash
13 years ago
Mitchell Hashimoto e2c667101c common: style
13 years ago
Jason A. Beranek 3fa5fa396a common/config,download: gofmt fixes
13 years ago
Jason A. Beranek 760f102c91 common/config,download: fix URL and relative Windows local file path issues [GH-235] [GH-239]
13 years ago
Mitchell Hashimoto 5b7d8fbc74 rename builder/common to common since it is generally useful
13 years ago