Skip to content

Instantly share code, notes, and snippets.

@liberforce
Created December 20, 2017 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liberforce/7e5f30df0bff2fc6f56363d1c0e0d5f1 to your computer and use it in GitHub Desktop.
Save liberforce/7e5f30df0bff2fc6f56363d1c0e0d5f1 to your computer and use it in GitHub Desktop.
packer on ssh log
virtualbox-ovf output will be in this color.
==> virtualbox-ovf: Downloading or copying Guest additions
virtualbox-ovf: Downloading or copying: file:///usr/share/virtualbox/VBoxGuestAdditions.iso
==> virtualbox-ovf: Downloading or copying OVF/OVA
virtualbox-ovf: Downloading or copying: file:///home/luismenina/devel/packer/gitlab-runner-win7/MSEdge%20-%20Win10.ova
==> virtualbox-ovf: Importing VM: /home/luismenina/devel/packer/gitlab-runner-win7/MSEdge - Win10.ova
==> virtualbox-ovf: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 3679)
==> 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: rdp://127.0.0.1:5915
==> virtualbox-ovf: Waiting 10s for boot...
==> virtualbox-ovf: Typing the boot command...
==> virtualbox-ovf: Waiting for SSH to become available...
==> virtualbox-ovf: Connected to SSH!
==> virtualbox-ovf: Uploading VirtualBox version info (5.1.30)
==> virtualbox-ovf: Uploading VirtualBox guest additions ISO...
==> virtualbox-ovf: Provisioning with Powershell...
==> virtualbox-ovf: Provisioning with powershell script: /tmp/packer-powershell-provisioner261565235
virtualbox-ovf: =SilentlyContinue : The term '=SilentlyContinue' is not recognized as the name of a cmdlet, function, script file, or
virtualbox-ovf: operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
virtualbox-ovf: again.
virtualbox-ovf: At line:1 char:55
virtualbox-ovf: + ... -Path variable:global:ProgressPreference){='SilentlyContinue'};:PACKE ...
virtualbox-ovf: + ~~~~~~~~~~~~~~~~~~~
virtualbox-ovf: + CategoryInfo : ObjectNotFound: (=SilentlyContinue:String) [], CommandNotFoundException
virtualbox-ovf: + FullyQualifiedErrorId : CommandNotFoundException
virtualbox-ovf:
virtualbox-ovf: :PACKER_BUILDER_TYPE=virtualbox-ovf : The term ':PACKER_BUILDER_TYPE=virtualbox-ovf' is not recognized as the name of
virtualbox-ovf: a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
virtualbox-ovf: verify that the path is correct and try again.
virtualbox-ovf: At line:1 char:76
virtualbox-ovf: + ... e){='SilentlyContinue'};:PACKER_BUILDER_TYPE="virtualbox-ovf"; :PACKE ...
virtualbox-ovf: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
virtualbox-ovf: + CategoryInfo : ObjectNotFound: (:PACKER_BUILDER_TYPE=virtualbox-ovf:String) [], CommandNotFoundExceptio
virtualbox-ovf: n
virtualbox-ovf: + FullyQualifiedErrorId : CommandNotFoundException
virtualbox-ovf:
virtualbox-ovf: :PACKER_BUILD_NAME=virtualbox-ovf : The term ':PACKER_BUILD_NAME=virtualbox-ovf' is not recognized as the name of a
virtualbox-ovf: cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
virtualbox-ovf: that the path is correct and try again.
virtualbox-ovf: At line:1 char:115
virtualbox-ovf: + ... ER_TYPE="virtualbox-ovf"; :PACKER_BUILD_NAME="virtualbox-ovf"; &'c:/W ...
virtualbox-ovf: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
virtualbox-ovf: + CategoryInfo : ObjectNotFound: (:PACKER_BUILD_NAME=virtualbox-ovf:String) [], CommandNotFoundException
virtualbox-ovf: + FullyQualifiedErrorId : CommandNotFoundException
virtualbox-ovf:
virtualbox-ovf:
virtualbox-ovf:
virtualbox-ovf: Directory: C:\
virtualbox-ovf:
virtualbox-ovf:
virtualbox-ovf: Mode LastWriteTime Length Name
virtualbox-ovf: ---- ------------- ------ ----
virtualbox-ovf: d----- 10/23/2017 9:13 AM BGinfo
virtualbox-ovf: d----- 9/29/2017 6:46 AM PerfLogs
virtualbox-ovf: d-r--- 10/23/2017 9:17 AM Program Files
virtualbox-ovf: d-r--- 10/23/2017 9:18 AM Program Files (x86)
virtualbox-ovf: d-r--- 10/23/2017 9:16 AM Users
virtualbox-ovf: d----- 10/23/2017 9:00 AM Windows
==> virtualbox-ovf: Gracefully halting virtual machine...
==> virtualbox-ovf: Preparing to export machine...
virtualbox-ovf: Deleting forwarded port mapping for the communicator (SSH, WinRM, etc) (host port 3679)
==> virtualbox-ovf: Exporting virtual machine...
virtualbox-ovf: Executing: export win10-x86_64 --output output-virtualbox-ovf/win10-x86_64.ovf
==> virtualbox-ovf: Deregistering and deleting imported VM...
Build 'virtualbox-ovf' finished.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment