Skip to content

Instantly share code, notes, and snippets.

@bl4ckcontact
Created November 14, 2016 20:43
Show Gist options
  • Save bl4ckcontact/2ba99a4b075bef4b6be815e41c9dd747 to your computer and use it in GitHub Desktop.
Save bl4ckcontact/2ba99a4b075bef4b6be815e41c9dd747 to your computer and use it in GitHub Desktop.
$ /usr/local/bin/packer.io build -force -var headless=true -debug 02-windows-2008-r2.json
Debug mode enabled. Builds will not be parallelized.
virtualbox-ovf output will be in this color.
==> virtualbox-ovf: Pausing after run of step 'StepOutputDir'. Press enter to continue.
==> virtualbox-ovf: Pausing after run of step 'StepSuppressMessages'. Press enter to continue.
==> virtualbox-ovf: Pausing after run of step 'StepCreateFloppy'. Press enter to continue.
==> virtualbox-ovf: Pausing after run of step 'StepHTTPServer'. Press enter to continue.
==> virtualbox-ovf: Pausing after run of step 'StepDownloadGuestAdditions'. Press enter to continue.
==> virtualbox-ovf: Importing VM: output-base/windows_server_2008_r2-standard-x64-base.ovf
==> virtualbox-ovf: Pausing after run of step 'StepImport'. Press enter to continue.
==> virtualbox-ovf: Pausing after run of step 'StepAttachGuestAdditions'. Press enter to continue.
==> virtualbox-ovf: Pausing after run of step 'StepConfigureVRDP'. Press enter to continue. ==> virtualbox-ovf: Pausing after run of step 'StepAttachFloppy'. Press enter to continue.
==> virtualbox-ovf: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 3963)
==> virtualbox-ovf: Pausing after run of step 'StepForwardSSH'. Press enter to continue.
==> virtualbox-ovf: Executing custom VBoxManage commands...
virtualbox-ovf: Executing: modifyvm windows_server_2008_r2-standard-x64-win_updates --memory 16384
virtualbox-ovf: Executing: modifyvm windows_server_2008_r2-standard-x64-win_updates --vram 48
virtualbox-ovf: Executing: modifyvm windows_server_2008_r2-standard-x64-win_updates --cpus 8
==> virtualbox-ovf: Pausing after run of step 'StepVBoxManage'. Press enter to continue.
==> virtualbox-ovf: Starting the virtual machine...
virtualbox-ovf: The VM will be run headless, without a GUI. If you want to
virtualbox-ovf: view the screen of the VM, connect via VRDP without a password to
virtualbox-ovf: 127.0.0.1:5939
==> virtualbox-ovf: Waiting 10s for boot...
==> virtualbox-ovf: Pausing after run of step 'StepRun'. Press enter to continue.
==> virtualbox-ovf: Typing the boot command...
==> virtualbox-ovf: Pausing after run of step 'StepTypeBootCommand'. Press enter to continue.
==> virtualbox-ovf: Waiting for WinRM to become available...
==> virtualbox-ovf: Connected to WinRM!
==> virtualbox-ovf: Pausing after run of step 'StepConnect'. Press enter to continue.
==> virtualbox-ovf: Uploading VirtualBox version info (5.0.24)
==> virtualbox-ovf: Pausing after run of step 'StepUploadVersion'. Press enter to continue.
==> virtualbox-ovf: Pausing after run of step 'StepUploadGuestAdditions'. Press enter to continue.
==> virtualbox-ovf: Provisioning with Powershell...
==> virtualbox-ovf: Provisioning with shell script: scripts/7-zip.ps1
==> virtualbox-ovf: Provisioning with Powershell...
==> virtualbox-ovf: Provisioning with shell script: scripts/virtio-drivers.ps1
virtualbox-ovf: Starting virtio driver installation process
virtualbox-ovf: Downloading virtio driver ISO
virtualbox-ovf:
virtualbox-ovf:
virtualbox-ovf: Directory: C:\windows\temp
virtualbox-ovf:
virtualbox-ovf:
virtualbox-ovf: Mode LastWriteTime Length Name
virtualbox-ovf: ---- ------------- ------ ----
virtualbox-ovf: d---- 11/14/2016 11:36 AM virtio
virtualbox-ovf: Unpacking virtio driver pack to C:\windows\temp\virtio
virtualbox-ovf:
virtualbox-ovf: 7-Zip [64] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31
virtualbox-ovf:
virtualbox-ovf: Scanning the drive for archives:
virtualbox-ovf: 1 file, 2949120 bytes (2880 KiB)
virtualbox-ovf:
virtualbox-ovf: Extracting archive: virtio-win_amd64.vfd
virtualbox-ovf: --
virtualbox-ovf: Path = virtio-win_amd64.vfd
virtualbox-ovf: Type = FAT
virtualbox-ovf: Physical Size = 2949120
virtualbox-ovf: File System = FAT12
virtualbox-ovf: Cluster Size = 1024
virtualbox-ovf: Free Space = 643072
virtualbox-ovf: Headers Size = 27136
virtualbox-ovf: Sector Size = 512
virtualbox-ovf: ID = 1816337684
virtualbox-ovf:
virtualbox-ovf: Everything is Ok
virtualbox-ovf:
virtualbox-ovf: Folders: 10
virtualbox-ovf: Files: 88
virtualbox-ovf: Size: 2230274
virtualbox-ovf: Compressed: 2949120
virtualbox-ovf: #< CLIXML
virtualbox-ovf: trustedpublisher
virtualbox-ovf: Certificate "CN=VeriSign Class 3 Code Signing 2010 CA, OU=Terms of use at https://www.verisign.com/rpa (c)10, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US" added to store.
virtualbox-ovf: Certificate "CN=VeriSign Class 3 Public Primary Certification Authority - G5, OU="(c) 2006 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US" added to store.
virtualbox-ovf: Certificate "CN="Red Hat, Inc.", O="Red Hat, Inc.", L=Raleigh, S=North Carolina, C=US" added to store.
virtualbox-ovf: Certificate "CN=Symantec Time Stamping Services Signer - G4, O=Symantec Corporation, C=US" added to store.
virtualbox-ovf: Certificate "CN=Symantec Time Stamping Services CA - G2, O=Symantec Corporation, C=US" added to store.
virtualbox-ovf: CertUtil: -addstore command completed successfully.
virtualbox-ovf: trustedpublisher
virtualbox-ovf: Related Certificates:
virtualbox-ovf:
virtualbox-ovf: Exact match:
virtualbox-ovf: Element 4:
virtualbox-ovf: Serial Number: 5200e5aa2556fc1a86ed96c9d44b33c7
virtualbox-ovf: Issuer: CN=VeriSign Class 3 Public Primary Certification Authority - G5, OU=(c) 2006 VeriSign, Inc. - For authorized use only, OU=VeriSign Trust Network, O=VeriSign, Inc., C=US
virtualbox-ovf: NotBefore: 2/7/2010 4:00 PM
virtualbox-ovf: NotAfter: 2/7/2020 3:59 PM
virtualbox-ovf: Subject: CN=VeriSign Class 3 Code Signing 2010 CA, OU=Terms of use at https://www.verisign.com/rpa (c)10, OU=VeriSign Trust Network, O=VeriSign, Inc., C=US
virtualbox-ovf: Non-root Certificate
virtualbox-ovf: Template:
virtualbox-ovf: Cert Hash(sha1): 49 58 47 a9 31 87 cf b8 c7 1f 84 0c b7 b4 14 97 ad 95 c6 4f
virtualbox-ovf:
virtualbox-ovf: Certificate "CN=VeriSign Class 3 Code Signing 2010 CA, OU=Terms of use at https://www.verisign.com/rpa (c)10, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US" already in store.
virtualbox-ovf: Related Certificates:
virtualbox-ovf:
virtualbox-ovf: Exact match:
virtualbox-ovf: Element 3:
virtualbox-ovf: Serial Number: 611993e400000000001c
virtualbox-ovf: Issuer: CN=Microsoft Code Verification Root, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
virtualbox-ovf: NotBefore: 2/22/2011 11:25 AM
virtualbox-ovf: NotAfter: 2/22/2021 11:35 AM
virtualbox-ovf: Subject: CN=VeriSign Class 3 Public Primary Certification Authority - G5, OU=(c) 2006 VeriSign, Inc. - For authorized use only, OU=VeriSign Trust Network, O=VeriSign, Inc., C=US
virtualbox-ovf: Non-root Certificate
virtualbox-ovf: Template:
virtualbox-ovf: Cert Hash(sha1): 57 53 4c cc 33 91 4c 41 f7 0e 2c bb 21 03 a1 db 18 81 7d 8b
virtualbox-ovf:
virtualbox-ovf: Certificate "CN=VeriSign Class 3 Public Primary Certification Authority - G5, OU="(c) 2006 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US" already in store.
virtualbox-ovf: Certificate "CN="Red Hat, Inc.", OU=Digital ID Class 3 - Microsoft Software Validation v2, O="Red Hat, Inc.", L=Raleigh, S=North Carolina, C=US" added to store.
virtualbox-ovf: Related Certificates:
virtualbox-ovf:
virtualbox-ovf: Exact match:
virtualbox-ovf: Element 3:
virtualbox-ovf: Serial Number: 0ecff438c8febf356e04d86a981b1a50
virtualbox-ovf: Issuer: CN=Symantec Time Stamping Services CA - G2, O=Symantec Corporation, C=US
virtualbox-ovf: NotBefore: 10/17/2012 4:00 PM
virtualbox-ovf: NotAfter: 12/29/2020 3:59 PM
virtualbox-ovf: Subject: CN=Symantec Time Stamping Services Signer - G4, O=Symantec Corporation, C=US
virtualbox-ovf: Non-root Certificate
virtualbox-ovf: Template:
virtualbox-ovf: Cert Hash(sha1): 65 43 99 29 b6 79 73 eb 19 2d 6f f2 43 e6 76 7a df 08 34 e4
virtualbox-ovf:
virtualbox-ovf: Certificate "CN=Symantec Time Stamping Services Signer - G4, O=Symantec Corporation, C=US" already in store.
virtualbox-ovf: Related Certificates:
virtualbox-ovf:
virtualbox-ovf: Exact match:
virtualbox-ovf: Element 1:
virtualbox-ovf: Serial Number: 7e93ebfb7cc64e59ea4b9a77d406fc3b
virtualbox-ovf: Issuer: CN=Thawte Timestamping CA, OU=Thawte Certification, O=Thawte, L=Durbanville, S=Western Cape, C=ZA
virtualbox-ovf: NotBefore: 12/20/2012 4:00 PM
virtualbox-ovf: NotAfter: 12/30/2020 3:59 PM
virtualbox-ovf: Subject: CN=Symantec Time Stamping Services CA - G2, O=Symantec Corporation, C=US
virtualbox-ovf: Non-root Certificate
virtualbox-ovf: Template:
virtualbox-ovf: Cert Hash(sha1): 6c 07 45 3f fd da 08 b8 37 07 c0 9b 82 fb 3d 15 f3 53 36 b1
virtualbox-ovf:
virtualbox-ovf: Certificate "CN=Symantec Time Stamping Services CA - G2, O=Symantec Corporation, C=US" already in store.
virtualbox-ovf: CertUtil: -addstore command completed successfully.
virtualbox-ovf: Microsoft PnP Utility
virtualbox-ovf:
virtualbox-ovf: Processing inf : netkvm.inf
virtualbox-ovf: Driver package added successfully.
virtualbox-ovf: Published name : oem2.inf
virtualbox-ovf:
virtualbox-ovf: Processing inf : qxl.inf
virtualbox-ovf: Driver package added successfully.
virtualbox-ovf: Published name : oem3.inf
virtualbox-ovf:
virtualbox-ovf: Processing inf : vioscsi.inf
virtualbox-ovf: Driver package added successfully.
virtualbox-ovf: Published name : oem4.inf
virtualbox-ovf:
virtualbox-ovf: Processing inf : viostor.inf
virtualbox-ovf: Driver package added successfully.
virtualbox-ovf: Published name : oem5.inf
virtualbox-ovf:
virtualbox-ovf:
virtualbox-ovf: Total attempted: 4
virtualbox-ovf: Number successfully imported: 4
virtualbox-ovf:
==> virtualbox-ovf: Provisioning with Powershell...
==> virtualbox-ovf: Provisioning with shell script: scripts/install-pswindowsupdate.ps1
virtualbox-ovf: Starting PSWindowsUpdate Installation
virtualbox-ovf:
virtualbox-ovf: 7-Zip [64] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31
virtualbox-ovf:
virtualbox-ovf: Scanning the drive for archives:
virtualbox-ovf: 1 file, 45730 bytes (45 KiB)
virtualbox-ovf:
virtualbox-ovf: Extracting archive: C:\Users\ADMINI~1\AppData\Local\Temp\PSWindowsUpdate.zip
virtualbox-ovf: --
virtualbox-ovf: Path = C:\Users\ADMINI~1\AppData\Local\Temp\PSWindowsUpdate.zip
virtualbox-ovf: Type = zip
virtualbox-ovf: Physical Size = 45730
virtualbox-ovf:
virtualbox-ovf: Everything is Ok
virtualbox-ovf:
virtualbox-ovf: Files: 17
virtualbox-ovf: Size: 242151
virtualbox-ovf: Compressed: 45730
virtualbox-ovf: Ended PSWindowsUpdate Installation
==> virtualbox-ovf: Provisioning with Powershell...
==> virtualbox-ovf: Provisioning with shell script: scripts/update-wuservice.ps1
virtualbox-ovf: Updating Windows Update Service
==> virtualbox-ovf: Restarting Machine
==> virtualbox-ovf: Waiting for machine to restart...
virtualbox-ovf: A system shutdown is in progress.(1115)
virtualbox-ovf: ADMINIS-P4O0B4V restarted.
==> virtualbox-ovf: Machine successfully restarted, moving on
==> virtualbox-ovf: Provisioning with Powershell...
==> virtualbox-ovf: Provisioning with shell script: scripts/install-patchrollup.ps1
virtualbox-ovf: Installing Patch Rollup - April 2016
==> virtualbox-ovf: Pausing before cleanup of step 'StepUploadGuestAdditions'. Press enter to continue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment