Skip to content

Instantly share code, notes, and snippets.

@ram-devsecops
Created April 27, 2017 18:46
Show Gist options
  • Save ram-devsecops/c6be8ad9108c9fb8cea433ba6bc24aec to your computer and use it in GitHub Desktop.
Save ram-devsecops/c6be8ad9108c9fb8cea433ba6bc24aec to your computer and use it in GitHub Desktop.
[root@0a39fecac62c packer-templates]# PACKER_LOG=1 packer build --only=vmware-iso rhel73.json
2017/04/27 18:36:33 [INFO] Packer version: 1.0.0
2017/04/27 18:36:33 Packer Target OS/Arch: linux amd64
2017/04/27 18:36:33 Built with Go Version: go1.8
2017/04/27 18:36:33 Detected home directory from env var: /root
2017/04/27 18:36:33 Using internal plugin for triton
2017/04/27 18:36:33 Using internal plugin for virtualbox-ovf
2017/04/27 18:36:33 Using internal plugin for cloudstack
2017/04/27 18:36:33 Using internal plugin for docker
2017/04/27 18:36:33 Using internal plugin for null
2017/04/27 18:36:33 Using internal plugin for openstack
2017/04/27 18:36:33 Using internal plugin for virtualbox-iso
2017/04/27 18:36:33 Using internal plugin for azure-arm
2017/04/27 18:36:33 Using internal plugin for digitalocean
2017/04/27 18:36:33 Using internal plugin for hyperv-iso
2017/04/27 18:36:33 Using internal plugin for parallels-iso
2017/04/27 18:36:33 Using internal plugin for vmware-vmx
2017/04/27 18:36:33 Using internal plugin for amazon-instance
2017/04/27 18:36:33 Using internal plugin for file
2017/04/27 18:36:33 Using internal plugin for parallels-pvm
2017/04/27 18:36:33 Using internal plugin for vmware-iso
2017/04/27 18:36:33 Using internal plugin for googlecompute
2017/04/27 18:36:33 Using internal plugin for oneandone
2017/04/27 18:36:33 Using internal plugin for profitbricks
2017/04/27 18:36:33 Using internal plugin for qemu
2017/04/27 18:36:33 Using internal plugin for amazon-chroot
2017/04/27 18:36:33 Using internal plugin for amazon-ebs
2017/04/27 18:36:33 Using internal plugin for amazon-ebsvolume
2017/04/27 18:36:33 Using internal plugin for amazon-ebssurrogate
2017/04/27 18:36:33 Using internal plugin for shell
2017/04/27 18:36:33 Using internal plugin for windows-restart
2017/04/27 18:36:33 Using internal plugin for windows-shell
2017/04/27 18:36:33 Using internal plugin for converge
2017/04/27 18:36:33 Using internal plugin for file
2017/04/27 18:36:33 Using internal plugin for powershell
2017/04/27 18:36:33 Using internal plugin for ansible
2017/04/27 18:36:33 Using internal plugin for ansible-local
2017/04/27 18:36:33 Using internal plugin for chef-client
2017/04/27 18:36:33 Using internal plugin for chef-solo
2017/04/27 18:36:33 Using internal plugin for puppet-masterless
2017/04/27 18:36:33 Using internal plugin for puppet-server
2017/04/27 18:36:33 Using internal plugin for salt-masterless
2017/04/27 18:36:33 Using internal plugin for shell-local
2017/04/27 18:36:33 Using internal plugin for docker-save
2017/04/27 18:36:33 Using internal plugin for docker-tag
2017/04/27 18:36:33 Using internal plugin for vsphere
2017/04/27 18:36:33 Using internal plugin for compress
2017/04/27 18:36:33 Using internal plugin for docker-push
2017/04/27 18:36:33 Using internal plugin for googlecompute-export
2017/04/27 18:36:33 Using internal plugin for artifice
2017/04/27 18:36:33 Using internal plugin for atlas
2017/04/27 18:36:33 Using internal plugin for manifest
2017/04/27 18:36:33 Using internal plugin for shell-local
2017/04/27 18:36:33 Using internal plugin for vagrant-cloud
2017/04/27 18:36:33 Using internal plugin for amazon-import
2017/04/27 18:36:33 Using internal plugin for docker-import
2017/04/27 18:36:33 Using internal plugin for checksum
2017/04/27 18:36:33 Using internal plugin for vagrant
2017/04/27 18:36:33 Detected home directory from env var: /root
2017/04/27 18:36:33 Attempting to open config file: /root/.packerconfig
2017/04/27 18:36:33 [WARN] Config file doesn't exist: /root/.packerconfig
2017/04/27 18:36:33 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu] PostProcessors:map[docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum] Provisioners:map[converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local]}
2017/04/27 18:36:33 Setting cache directory: /data/packer-templates/packer_cache
2017/04/27 18:36:33 Detected home directory from env var: /root
2017/04/27 18:36:33 Loading builder: vmware-iso
2017/04/27 18:36:33 Plugin could not be found. Checking same directory as executable.
2017/04/27 18:36:33 Current exe path: /usr/local/bin/packer
2017/04/27 18:36:33 Creating plugin client for path: /usr/local/bin/packer
2017/04/27 18:36:33 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-vmware-iso"}
2017/04/27 18:36:33 Waiting for RPC address for: /usr/local/bin/packer
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 [INFO] Packer version: 1.0.0
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Packer Target OS/Arch: linux amd64
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Built with Go Version: go1.8
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Detected home directory from env var: /root
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Attempting to open config file: /root/.packerconfig
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 [WARN] Config file doesn't exist: /root/.packerconfig
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Setting cache directory: /data/packer-templates/packer_cache
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 args: []string{"packer-builder-vmware-iso"}
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Plugin minimum port: 10000
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Plugin maximum port: 25000
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Plugin address: unix /tmp/packer-plugin244515949
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Waiting for connection...
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Detected home directory from env var: /root
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Serving a plugin connection...
2017/04/27 18:36:33 Loading provisioner: shell
2017/04/27 18:36:33 Plugin could not be found. Checking same directory as executable.
2017/04/27 18:36:33 Current exe path: /usr/local/bin/packer
2017/04/27 18:36:33 Creating plugin client for path: /usr/local/bin/packer
2017/04/27 18:36:33 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2017/04/27 18:36:33 Waiting for RPC address for: /usr/local/bin/packer
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 [INFO] Packer version: 1.0.0
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Packer Target OS/Arch: linux amd64
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Built with Go Version: go1.8
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Detected home directory from env var: /root
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Attempting to open config file: /root/.packerconfig
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 [WARN] Config file doesn't exist: /root/.packerconfig
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Setting cache directory: /data/packer-templates/packer_cache
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 args: []string{"packer-provisioner-shell"}
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Plugin minimum port: 10000
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Plugin maximum port: 25000
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Plugin address: unix /tmp/packer-plugin607647295
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Waiting for connection...
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Detected home directory from env var: /root
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Serving a plugin connection...
2017/04/27 18:36:33 Loading post-processor: vagrant
2017/04/27 18:36:33 Plugin could not be found. Checking same directory as executable.
2017/04/27 18:36:33 Current exe path: /usr/local/bin/packer
2017/04/27 18:36:33 Creating plugin client for path: /usr/local/bin/packer
2017/04/27 18:36:33 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-post-processor-vagrant"}
2017/04/27 18:36:33 Waiting for RPC address for: /usr/local/bin/packer
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 [INFO] Packer version: 1.0.0
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Packer Target OS/Arch: linux amd64
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Built with Go Version: go1.8
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Detected home directory from env var: /root
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Attempting to open config file: /root/.packerconfig
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 [WARN] Config file doesn't exist: /root/.packerconfig
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Setting cache directory: /data/packer-templates/packer_cache
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 args: []string{"packer-post-processor-vagrant"}
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Plugin minimum port: 10000
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Plugin maximum port: 25000
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Detected home directory from env var: /root
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Plugin address: unix /tmp/packer-plugin692154404
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Waiting for connection...
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Serving a plugin connection...
2017/04/27 18:36:33 ui: vmware-iso output will be in this color.
2017/04/27 18:36:33 ui:
2017/04/27 18:36:33 Build debug mode: false
2017/04/27 18:36:33 Force build: false
2017/04/27 18:36:33 On error:
2017/04/27 18:36:33 Preparing build: vmware-iso
vmware-iso output will be in this color.
2017/04/27 18:36:33 Waiting on builds to complete...
2017/04/27 18:36:33 Starting build run: vmware-iso
2017/04/27 18:36:33 Running builder: vmware-iso
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 VMware app path: /usr/bin/vmware
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 vmrun path: /usr/bin/vmrun
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 vdisk-manager path: /usr/bin/vmware-vdiskmanager
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 VMware app path: /usr/bin/vmware
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 vmrun path: /usr/bin/vmrun
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 vdisk-manager path: /usr/bin/vmware-vdiskmanager
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 VMware app path: /usr/bin/vmplayer
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 vmrun path: /usr/bin/vmrun
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 vdisk-manager path: /usr/bin/vmware-vdiskmanager
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 qemu-img path:
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 VMware app path: /usr/bin/vmplayer
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 vmrun path: /usr/bin/vmrun
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 vdisk-manager path: /usr/bin/vmware-vdiskmanager
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 qemu-img path:
==> vmware-iso: Downloading or copying ISO
vmware-iso: Downloading or copying: file:///data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso
2017/04/27 18:36:33 ui: ==> vmware-iso: Downloading or copying ISO
2017/04/27 18:36:33 ui: vmware-iso: Downloading or copying: file:///data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Acquiring lock to download: file:///data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 [DEBUG] Using local file: /data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 Verifying checksum of /data/packer-templates/iso/rhel-server-7.3-x86_64-dvd.iso
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=6931e380-5fd0-55cf-abac-e963a7f6870f&version=1.0.0: x509: certificate signed by unknown authority
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=6931e380-5fd0-55cf-abac-e963a7f6870f&version=1.0.0: x509: certificate signed by unknown authority
2017/04/27 18:36:33 packer: 2017/04/27 18:36:33 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=6931e380-5fd0-55cf-abac-e963a7f6870f&version=1.0.0: x509: certificate signed by unknown authority
2017/04/27 18:36:33 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=6931e380-5fd0-55cf-abac-e963a7f6870f&version=1.0.0: x509: certificate signed by unknown authority
2017/04/27 18:37:38 ui: ==> vmware-iso: Creating floppy disk...
==> vmware-iso: Creating floppy disk...
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Floppy path: /tmp/packer981077736
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Initializing block device backed by temporary file
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Formatting the block device with a FAT filesystem...
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Initializing FAT filesystem on block device
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Reading the root directory from the filesystem
2017/04/27 18:37:38 ui: vmware-iso: Copying files flatly from floppy_files
vmware-iso: Copying files flatly from floppy_files
2017/04/27 18:37:38 ui: vmware-iso: Copying file: http/rhel/7/7.3/cis1/esxi/ks.cfg
vmware-iso: Copying file: http/rhel/7/7.3/cis1/esxi/ks.cfg
2017/04/27 18:37:38 ui: vmware-iso: Done copying files from floppy_files
vmware-iso: Done copying files from floppy_files
2017/04/27 18:37:38 ui: vmware-iso: Collecting paths from floppy_dirs
vmware-iso: Collecting paths from floppy_dirs
2017/04/27 18:37:38 ui: vmware-iso: Resulting paths from floppy_dirs : []
2017/04/27 18:37:38 ui: vmware-iso: Done copying paths from floppy_dirs
vmware-iso: Resulting paths from floppy_dirs : []
vmware-iso: Done copying paths from floppy_dirs
2017/04/27 18:37:38 ui: ==> vmware-iso: Creating virtual machine disk
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Executing: /usr/bin/vmware-vdiskmanager [-c -s 61440M -a lsilogic -t 1 output-vmware-iso/disk.vmdk]
==> vmware-iso: Creating virtual machine disk
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 stdout: Creating disk 'output-vmware-iso/disk.vmdk'
2017/04/27 18:37:38 packer: Virtual disk creation successful.
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 stderr:
==> vmware-iso: Building and writing VMX file
2017/04/27 18:37:38 ui: ==> vmware-iso: Building and writing VMX file
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Writing VMX to: output-vmware-iso/rhel-7.3-vmware.vmx
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Setting VMX: 'cpuid.coresPerSocket' = '1'
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Setting VMX: 'memsize' = '2048'
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Setting VMX: 'numvcpus' = '2'
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Setting VMX: 'remotedisplay.vnc.enabled' = 'TRUE'
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Setting VMX: 'remotedisplay.vnc.port' = '5900'
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Floppy path present, setting in VMX
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Writing VMX to: output-vmware-iso/rhel-7.3-vmware.vmx
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Suppressing messages in VMX
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Looking for available port between 5900 and 6000
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Trying port: 5963
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Found available VNC port: 5963
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Writing VMX to: output-vmware-iso/rhel-7.3-vmware.vmx
==> vmware-iso: Starting virtual machine...
2017/04/27 18:37:38 ui: ==> vmware-iso: Starting virtual machine...
2017/04/27 18:37:38 ui: vmware-iso: The VM will be run headless, without a GUI. If you want to
vmware-iso: view the screen of the VM, connect via VNC with the password "vyIQJmBv" to
vmware-iso: vnc://0.0.0.0:5963
vmware-iso: The VM will be run headless, without a GUI. If you want to
vmware-iso: view the screen of the VM, connect via VNC with the password "vyIQJmBv" to
vmware-iso: vnc://0.0.0.0:5963
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 Executing: /usr/bin/vmrun [-T player start output-vmware-iso/rhel-7.3-vmware.vmx nogui]
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 stdout: Error: The operation was canceled
2017/04/27 18:37:38 packer: 2017/04/27 18:37:38 stderr:
2017/04/27 18:37:38 ui error: ==> vmware-iso: Error starting VM: VMware error: Error: The operation was canceled
==> vmware-iso: Error starting VM: VMware error: Error: The operation was canceled
2017/04/27 18:37:38 ui: ==> vmware-iso: Waiting 4.503767072s to give VMware time to clean up...
==> vmware-iso: Waiting 4.503767072s to give VMware time to clean up...
2017/04/27 18:37:43 packer: 2017/04/27 18:37:43 Executing: /usr/bin/vmrun [-T player list]
2017/04/27 18:37:43 packer: 2017/04/27 18:37:43 stdout: Total running VMs: 0
2017/04/27 18:37:43 packer: 2017/04/27 18:37:43 stderr:
2017/04/27 18:37:43 packer: 2017/04/27 18:37:43 Deleting floppy disk: /tmp/packer981077736
2017/04/27 18:37:43 ui: ==> vmware-iso: Deleting output directory...
==> vmware-iso: Deleting output directory...
2017/04/27 18:37:43 ui error: Build 'vmware-iso' errored: Error starting VM: VMware error: Error: The operation was canceled
2017/04/27 18:37:43 Builds completed. Waiting on interrupt barrier...
2017/04/27 18:37:43 machine readable: error-count []string{"1"}
2017/04/27 18:37:43 ui error:
==> Some builds didn't complete successfully and had errors:
2017/04/27 18:37:43 machine readable: vmware-iso,error []string{"Error starting VM: VMware error: Error: The operation was canceled"}
2017/04/27 18:37:43 ui error: --> vmware-iso: Error starting VM: VMware error: Error: The operation was canceled
2017/04/27 18:37:43 ui:
==> Builds finished but no artifacts were created.
2017/04/27 18:37:43 waiting for all plugin processes to complete...
Build 'vmware-iso' errored: Error starting VM: VMware error: Error: The operation was canceled
2017/04/27 18:37:43 /usr/local/bin/packer: plugin process exited
==> Some builds didn't complete successfully and had errors:
--> vmware-iso: Error starting VM: VMware error: Error: The operation was canceled
==> Builds finished but no artifacts were created.
2017/04/27 18:37:43 /usr/local/bin/packer: plugin process exited
2017/04/27 18:37:43 /usr/local/bin/packer: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment