This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- master..5248280.diff 2014-05-19 19:50:00.255845000 -0700 | |
+++ master..112ed70.diff 2014-05-19 19:50:20.368995400 -0700 | |
@@ -707,7 +707,7 @@ | |
NoPty: b.config.SSHSkipRequestPty, | |
diff --git a/common/step_connect_winrm.go b/common/step_connect_winrm.go | |
new file mode 100644 | |
-index 0000000..a91fa29 | |
+index 0000000..40f4040 | |
--- /dev/null | |
+++ b/common/step_connect_winrm.go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
2014/05/17 09:27:18 C:\packer\packer-builder-vmware-iso.exe: 2014/05/17 09:27:18 Lookup up IP information... | |
2014/05/17 09:27:18 C:\packer\packer-builder-vmware-iso.exe: 2014/05/17 09:27:18 DHCP leases path: C:/ProgramData/VMware/vmnetdhcp.leases | |
2014/05/17 09:27:18 C:\packer\packer-builder-vmware-iso.exe: 2014/05/17 09:27:18 Detected IP: 192.168.6.212 | |
2014/05/17 09:27:18 C:\packer\packer-builder-vmware-iso.exe: 2014/05/17 09:27:18 Attempting WinRM connection... | |
==> vmware-iso: Connected to WinRM! | |
2014/05/17 09:27:18 ui: ==> vmware-iso: Connected to WinRM! | |
2014/05/17 09:27:18 C:\packer\packer-builder-vmware-iso.exe: 2014/05/17 09:27:18 Running the provision hook | |
==> vmware-iso: Provisioning with shell script: C:\cygwin\tmp\packer-shell939054719 | |
2014/05/17 09:27:18 ui: ==> vmware-iso: Provisioning with shell script: C:\cygwin\tmp\packer-shell939054719 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/builder/vmware/common/step_clean_vmx.go b/builder/vmware/common/step_clean_vmx.go | |
index b55bcd5..aebbc68 100644 | |
--- a/builder/vmware/common/step_clean_vmx.go | |
+++ b/builder/vmware/common/step_clean_vmx.go | |
@@ -46,6 +46,7 @@ func (s StepCleanVMX) Run(state multistep.StateBag) multistep.StepAction { | |
if isoPathRaw, ok := state.GetOk("iso_path"); ok { | |
isoPath := isoPathRaw.(string) | |
+log.Printf("[DEBUG] isoPath=%v", isoPath) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014/04/25 07:32:17 Packer Version: 0.5.3 dev 1792d6543455e0cfb903c28ca9dbbb5de2e5c8f7 | |
2014/04/25 07:32:17 Packer Target OS/Arch: windows 386 | |
2014/04/25 07:32:17 Built with Go Version: go1.2 | |
... | |
2014/04/25 07:36:11 C:\packer\packer-builder-vmware-iso.exe: 2014/04/25 07:36:11 Detected IP: 192.168.6.135 | |
2014/04/25 07:36:12 C:\packer\packer-builder-vmware-iso.exe: 2014/04/25 07:36:12 TCP connection to SSH ip/port failed: dial tcp 192.168.6.135:22: ConnectEx tcp: No connection could be made because the target machine actively refused it. | |
2014/04/25 07:36:17 C:\packer\packer-builder-vmware-iso.exe: 2014/04/25 07:36:17 Lookup up IP information... | |
2014/04/25 07:36:17 C:\packer\packer-builder-vmware-iso.exe: 2014/04/25 07:36:17 DHCP leases path: C:/ProgramData/VMware/vmnetdhcp.leases | |
2014/04/25 07:36:17 C:\packer\packer-builder-vmware-iso.exe: 2014/04/25 07:36:17 Detected IP: 192.168.6.135 | |
2014/04/25 07:36:20 C:\packer\packer-builder-vmware-iso.exe: 2014/04/25 07:36:20 Attempting SSH connection... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014/04/16 08:24:54 C:\packer\packer-builder-vmware-iso.exe: 2014/04/16 08:24:54 Error in Ui RPC call: connection is shut down | |
Build 'vmware-iso' errored: gob: decoding array or slice: length exceeds input size (3 elements) | |
2014/04/16 08:24:54 ui error: Build 'vmware-iso' errored: gob: decoding array or slice: length exceeds input size (3 elements) | |
2014/04/16 08:24:54 C:\packer\packer-command-build.exe: 2014/04/16 08:24:54 Builds completed. Waiting on interrupt barrier... | |
2014/04/16 08:24:54 machine readable: error-count []string{"1"} | |
==> Some builds didn't complete successfully and had errors: | |
2014/04/16 08:24:54 ui error: | |
==> Some builds didn't complete successfully and had errors: | |
2014/04/16 08:24:54 machine readable: vmware-iso,error []string{"gob: decoding array or slice: length exceeds input size (3 elements)"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014/03/23 07:05:55 Packer Version: 0.5.2 be8900cdc7240a8008c507d36f07c4756b4622fe | |
2014/03/23 07:05:55 Packer Target OS/Arch: windows 386 | |
2014/03/23 07:05:55 Built with Go Version: go1.2 | |
... | |
2014/03/23 07:07:56 c:\packer\packer-builder-vmware-iso.exe: 2014/03/23 07:07:56 Lookup up IP information... | |
2014/03/23 07:07:56 c:\packer\packer-builder-vmware-iso.exe: 2014/03/23 07:07:56 DHCP leases path: C:/ProgramData/VMware/vmnetdhcp.leases | |
2014/03/23 07:07:56 c:\packer\packer-builder-vmware-iso.exe: 2014/03/23 07:07:56 Detected IP: 192.168.6.239 | |
2014/03/23 07:07:57 c:\packer\packer-builder-vmware-iso.exe: 2014/03/23 07:07:57 TCP connection to SSH ip/port failed: dial tcp 192.168.6.239:22: ConnectEx tcp: No connection could be made because the target machine actively refused it. | |
2014/03/23 07:08:02 c:\packer\packer-builder-vmware-iso.exe: 2014/03/23 07:08:02 Lookup up IP information... | |
2014/03/23 07:08:02 c:\packer\packer-builder-vmware-iso.exe: unexpected fault address 0x8b000000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014/03/23 05:08:16 Packer Version: 0.5.2 be8900cdc7240a8008c507d36f07c4756b4622fe | |
2014/03/23 05:08:16 Packer Target OS/Arch: windows 386 | |
2014/03/23 05:08:16 Built with Go Version: go1.2 | |
... | |
2014/03/23 05:10:21 c:\packer\packer-builder-vmware-iso.exe: 2014/03/23 05:10:21 DHCP leases path: C:/ProgramData/VMware/vmnetdhcp.leases | |
2014/03/23 05:10:21 c:\packer\packer-builder-vmware-iso.exe: 2014/03/23 05:10:21 Detected IP: 192.168.6.238 | |
2014/03/23 05:10:22 c:\packer\packer-builder-vmware-iso.exe: 2014/03/23 05:10:22 TCP connection to SSH ip/port failed: dial tcp 192.168.6.238:22: ConnectEx tcp: No connection could be made because the target machine actively refused it. | |
2014/03/23 05:10:27 c:\packer\packer-builder-vmware-iso.exe: 2014/03/23 05:10:27 Lookup up IP information... | |
2014/03/23 05:10:27 c:\packer\packer-builder-vmware-iso.exe: unexpected fault address 0x8b000000 | |
2014/03/23 05:10:27 c:\packer\packer-builder-vmware-iso.exe: fatal error: fault |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package vmware | |
import ( | |
"fmt" | |
"github.com/mitchellh/multistep" | |
"github.com/mitchellh/packer/packer" | |
"log" | |
"io/ioutil" | |
"math/rand" | |
"net" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\github\rasa\basebox-packer\vmware>vagrant provision | |
[win7x64-pro] Running provisioner: shell... | |
C:\Users\vagrant>ipconfig /all | |
Windows IP Configuration | |
Host Name . . . . . . . . . . . . : WINDOWS-79RB2TL | |
Primary Dns Suffix . . . . . . . : | |
Node Type . . . . . . . . . . . . : Hybrid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ross@pv1:~/repos$ git clone [email protected]:rasa/packer.git | |
Cloning into 'packer'... | |
Warning: Permanently added 'github.com' (RSA) to the list of known hosts. | |
remote: Counting objects: 12193, done. | |
remote: Compressing objects: 100% (6880/6880), done. | |
remote: Total 12193 (delta 5643), reused 11468 (delta 5003) | |
Receiving objects: 100% (12193/12193), 5.69 MiB | 351 KiB/s, done. | |
Resolving deltas: 100% (5643/5643), done. | |
ross@pv1:~/repos$ cd packer |