Skip to content

Instantly share code, notes, and snippets.

@watahani
Created March 30, 2018 00:48
Show Gist options
  • Save watahani/a2c0cd7dd8a85927e231ee2a5311e8f0 to your computer and use it in GitHub Desktop.
Save watahani/a2c0cd7dd8a85927e231ee2a5311e8f0 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing/>
<settings pass="windowsPE">
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Extend>false</Extend>
<Format>NTFS</Format>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
<Label>Windows 10</Label>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Vagrant Administrator</FullName>
<Organization>Vagrant Inc.</Organization>
<!--
NOTE: If you are re-configuring this for use of a retail key
and using a retail ISO, you need to adjust the <ProductKey> block
below to look like this:
<ProductKey>
<Key>33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</Key>
<WillShowUI>Never</WillShowUI>
</ProductKey>
Notice the addition of the `<Key>` element.
-->
<!-- Product Key from http://technet.microsoft.com/en-us/library/jj612867.aspx -->
<ProductKey>
<WillShowUI>Never</WillShowUI>
</ProductKey>
</UserData>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 10 Pro</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
</component>
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<SetupUILanguage>
<UILanguage>ja-JP</UILanguage>
</SetupUILanguage>
<UILanguageFallback>ja-JP</UILanguageFallback>
<InputLocale>ja-JP</InputLocale>
<UILanguage>ja-JP</UILanguage>
<UserLocale>ja-JP</UserLocale>
<SystemLocale>ja-JP</SystemLocale>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<settings pass="oobeSystem">
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<UserAccounts>
<AdministratorPassword>
<Value>vagrant</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>vagrant</Value>
<PlainText>true</PlainText>
</Password>
<Description>Vagrant User</Description>
<DisplayName>vagrant</DisplayName>
<Group>administrators</Group>
<Name>vagrant</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<AutoLogon>
<Password>
<Value>vagrant</Value>
<PlainText>true</PlainText>
</Password>
<Username>vagrant</Username>
<Enabled>true</Enabled>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force"</CommandLine>
<Description>Set Execution Policy 64 Bit</Description>
<Order>1</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>C:\Windows\SysWOW64\cmd.exe /c powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force"</CommandLine>
<Description>Set Execution Policy 32 Bit</Description>
<Order>2</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c reg add "HKLM\System\CurrentControlSet\Control\Network\NewNetworkWindowOff"</CommandLine>
<Description>Network prompt</Description>
<Order>3</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\fixnetwork.ps1</CommandLine>
<Description>Fix public network</Description>
<Order>4</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c winrm quickconfig -q</CommandLine>
<Description>winrm quickconfig -q</Description>
<Order>5</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c winrm quickconfig -transport:http</CommandLine>
<Description>winrm quickconfig -transport:http</Description>
<Order>6</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c winrm set winrm/config @{MaxTimeoutms="1800000"}</CommandLine>
<Description>Win RM MaxTimoutms</Description>
<Order>7</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c winrm set winrm/config/winrs @{MaxMemoryPerShellMB="800"}</CommandLine>
<Description>Win RM MaxMemoryPerShellMB</Description>
<Order>8</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c winrm set winrm/config/service @{AllowUnencrypted="true"}</CommandLine>
<Description>Win RM AllowUnencrypted</Description>
<Order>9</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c winrm set winrm/config/service/auth @{Basic="true"}</CommandLine>
<Description>Win RM auth Basic</Description>
<Order>10</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c winrm set winrm/config/client/auth @{Basic="true"}</CommandLine>
<Description>Win RM client auth Basic</Description>
<Order>11</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c winrm set winrm/config/listener?Address=*+Transport=HTTP @{Port="5985"} </CommandLine>
<Description>Win RM listener Address/Port</Description>
<Order>12</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c netsh advfirewall firewall set rule group="remote administration" new enable=yes </CommandLine>
<Description>Win RM adv firewall enable</Description>
<Order>13</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c netsh firewall add portopening TCP 5985 "Port 5985" </CommandLine>
<Description>Win RM port open</Description>
<Order>14</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c net stop winrm </CommandLine>
<Description>Stop Win RM Service </Description>
<Order>15</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c sc config winrm start= auto</CommandLine>
<Description>Win RM Autostart</Description>
<Order>16</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c net start winrm</CommandLine>
<Description>Start Win RM Service</Description>
<Order>17</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v HideFileExt /t REG_DWORD /d 0 /f</CommandLine>
<Order>18</Order>
<Description>Show file extensions in Explorer</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKCU\Console /v QuickEdit /t REG_DWORD /d 1 /f</CommandLine>
<Order>19</Order>
<Description>Enable QuickEdit mode</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v Start_ShowRun /t REG_DWORD /d 1 /f</CommandLine>
<Order>20</Order>
<Description>Show Run command in Start Menu</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v StartMenuAdminTools /t REG_DWORD /d 1 /f</CommandLine>
<Order>21</Order>
<Description>Show Administrative Tools in Start Menu</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\ /v HibernateFileSizePercent /t REG_DWORD /d 0 /f</CommandLine>
<Order>22</Order>
<Description>Zero Hibernation File</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\ /v HibernateEnabled /t REG_DWORD /d 0 /f</CommandLine>
<Order>23</Order>
<Description>Disable Hibernation Mode</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c wmic useraccount where "name='vagrant'" set PasswordExpires=FALSE</CommandLine>
<Order>24</Order>
<Description>Disable password expiration for vagrant user</Description>
</SynchronousCommand>
</FirstLogonCommands>
<ShowWindowsLive>false</ShowWindowsLive>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<OEMInformation>
<HelpCustomized>false</HelpCustomized>
</OEMInformation>
<!-- Rename computer here. -->
<ComputerName>vagrant-10-64</ComputerName>
<!-- <TimeZone>Tokyo Standard Time</TimeZone> -->
<TimeZone>Tokyo Standard Time</TimeZone>
<RegisteredOwner/>
</component>
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="catalog:d:/sources/install_windows 7 ENTERPRISE.clg"/>
</unattend>
2018/03/30 09:23:09 [INFO] Packer version: 1.2.2
2018/03/30 09:23:09 Packer Target OS/Arch: windows amd64
2018/03/30 09:23:09 Built with Go Version: go1.10
2018/03/30 09:23:09 Using internal plugin for azure-arm
2018/03/30 09:23:09 Using internal plugin for openstack
2018/03/30 09:23:09 Using internal plugin for profitbricks
2018/03/30 09:23:09 Using internal plugin for qemu
2018/03/30 09:23:09 Using internal plugin for scaleway
2018/03/30 09:23:09 Using internal plugin for null
2018/03/30 09:23:09 Using internal plugin for parallels-pvm
2018/03/30 09:23:09 Using internal plugin for virtualbox-ovf
2018/03/30 09:23:09 Using internal plugin for amazon-ebs
2018/03/30 09:23:09 Using internal plugin for amazon-ebssurrogate
2018/03/30 09:23:09 Using internal plugin for amazon-instance
2018/03/30 09:23:09 Using internal plugin for digitalocean
2018/03/30 09:23:09 Using internal plugin for docker
2018/03/30 09:23:09 Using internal plugin for hyperv-vmcx
2018/03/30 09:23:09 Using internal plugin for oneandone
2018/03/30 09:23:09 Using internal plugin for vmware-vmx
2018/03/30 09:23:09 Using internal plugin for oracle-oci
2018/03/30 09:23:09 Using internal plugin for alicloud-ecs
2018/03/30 09:23:09 Using internal plugin for amazon-chroot
2018/03/30 09:23:09 Using internal plugin for hyperv-iso
2018/03/30 09:23:09 Using internal plugin for triton
2018/03/30 09:23:09 Using internal plugin for cloudstack
2018/03/30 09:23:09 Using internal plugin for lxc
2018/03/30 09:23:09 Using internal plugin for ncloud
2018/03/30 09:23:09 Using internal plugin for oracle-classic
2018/03/30 09:23:09 Using internal plugin for parallels-iso
2018/03/30 09:23:09 Using internal plugin for virtualbox-iso
2018/03/30 09:23:09 Using internal plugin for vmware-iso
2018/03/30 09:23:09 Using internal plugin for amazon-ebsvolume
2018/03/30 09:23:09 Using internal plugin for file
2018/03/30 09:23:09 Using internal plugin for googlecompute
2018/03/30 09:23:09 Using internal plugin for lxd
2018/03/30 09:23:09 Using internal plugin for puppet-server
2018/03/30 09:23:09 Using internal plugin for salt-masterless
2018/03/30 09:23:09 Using internal plugin for shell-local
2018/03/30 09:23:09 Using internal plugin for chef-solo
2018/03/30 09:23:09 Using internal plugin for file
2018/03/30 09:23:09 Using internal plugin for powershell
2018/03/30 09:23:09 Using internal plugin for ansible
2018/03/30 09:23:09 Using internal plugin for shell
2018/03/30 09:23:09 Using internal plugin for windows-restart
2018/03/30 09:23:09 Using internal plugin for ansible-local
2018/03/30 09:23:09 Using internal plugin for chef-client
2018/03/30 09:23:09 Using internal plugin for converge
2018/03/30 09:23:09 Using internal plugin for puppet-masterless
2018/03/30 09:23:09 Using internal plugin for windows-shell
2018/03/30 09:23:09 Using internal plugin for amazon-import
2018/03/30 09:23:09 Using internal plugin for checksum
2018/03/30 09:23:09 Using internal plugin for docker-import
2018/03/30 09:23:09 Using internal plugin for docker-save
2018/03/30 09:23:09 Using internal plugin for shell-local
2018/03/30 09:23:09 Using internal plugin for vagrant-cloud
2018/03/30 09:23:09 Using internal plugin for alicloud-import
2018/03/30 09:23:09 Using internal plugin for docker-tag
2018/03/30 09:23:09 Using internal plugin for manifest
2018/03/30 09:23:09 Using internal plugin for atlas
2018/03/30 09:23:09 Using internal plugin for compress
2018/03/30 09:23:09 Using internal plugin for docker-push
2018/03/30 09:23:09 Using internal plugin for vagrant
2018/03/30 09:23:09 Using internal plugin for artifice
2018/03/30 09:23:09 Using internal plugin for googlecompute-export
2018/03/30 09:23:09 Using internal plugin for vsphere
2018/03/30 09:23:09 Using internal plugin for vsphere-template
2018/03/30 09:23:09 Attempting to open config file: C:\Users\sgk_haniyama_wataru\AppData\Roaming\packer.config
2018/03/30 09:23:09 [WARN] Config file doesn't exist: C:\Users\sgk_haniyama_wataru\AppData\Roaming\packer.config
2018/03/30 09:23:09 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[parallels-pvm:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm hyperv-vmcx:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx virtualbox-iso:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso openstack:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack docker:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker alicloud-ecs:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs file:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file qemu:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu null:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null oracle-oci:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci oracle-classic:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic amazon-ebs:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-instance:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance cloudstack:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack triton:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton vmware-iso:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso lxd:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd amazon-ebssurrogate:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate vmware-vmx:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx amazon-chroot:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot hyperv-iso:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso digitalocean:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean oneandone:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone ncloud:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud parallels-iso:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-ebsvolume:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume googlecompute:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute profitbricks:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks scaleway:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway virtualbox-ovf:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf lxc:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc azure-arm:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm] PostProcessors:map[shell-local:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-push:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push googlecompute-export:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export checksum:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-import:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-save:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant-cloud:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud alicloud-import:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import compress:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vsphere:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere docker-tag:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag atlas:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas amazon-import:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import manifest:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest artifice:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice vsphere-template:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template] Provisioners:map[windows-shell:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell puppet-server:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server file:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file ansible:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible shell:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell chef-client:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client salt-masterless:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell-local:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local converge:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge powershell:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell windows-restart:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart puppet-masterless:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless chef-solo:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo ansible-local:C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local]}
2018/03/30 09:23:09 Setting cache directory: C:\Users\sgk_haniyama_wataru\Desktop\packer-windows\packer_cache
2018/03/30 09:23:09 Loading builder: virtualbox-iso
2018/03/30 09:23:09 Plugin could not be found. Checking same directory as executable.
2018/03/30 09:23:09 Current exe path: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe
2018/03/30 09:23:09 Creating plugin client for path: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe
2018/03/30 09:23:09 Starting plugin: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe []string{"C:\\Users\\sgk_haniyama_wataru\\scoop\\apps\\packer\\current\\packer.exe", "plugin", "packer-builder-virtualbox-iso"}
2018/03/30 09:23:09 Waiting for RPC address for: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 [INFO] Packer version: 1.2.2
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Packer Target OS/Arch: windows amd64
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Built with Go Version: go1.10
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Attempting to open config file: C:\Users\sgk_haniyama_wataru\AppData\Roaming\packer.config
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 [WARN] Config file doesn't exist: C:\Users\sgk_haniyama_wataru\AppData\Roaming\packer.config
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Setting cache directory: C:\Users\sgk_haniyama_wataru\Desktop\packer-windows\packer_cache
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 args: []string{"packer-builder-virtualbox-iso"}
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Plugin minimum port: 10000
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Plugin maximum port: 25000
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Plugin address: tcp 127.0.0.1:10000
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Waiting for connection...
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Serving a plugin connection...
2018/03/30 09:23:09 Loading provisioner: windows-shell
2018/03/30 09:23:09 Plugin could not be found. Checking same directory as executable.
2018/03/30 09:23:09 Current exe path: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe
2018/03/30 09:23:09 Creating plugin client for path: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe
2018/03/30 09:23:09 Starting plugin: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe []string{"C:\\Users\\sgk_haniyama_wataru\\scoop\\apps\\packer\\current\\packer.exe", "plugin", "packer-provisioner-windows-shell"}
2018/03/30 09:23:09 Waiting for RPC address for: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 [INFO] Packer version: 1.2.2
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Packer Target OS/Arch: windows amd64
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Built with Go Version: go1.10
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Attempting to open config file: C:\Users\sgk_haniyama_wataru\AppData\Roaming\packer.config
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 [WARN] Config file doesn't exist: C:\Users\sgk_haniyama_wataru\AppData\Roaming\packer.config
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Setting cache directory: C:\Users\sgk_haniyama_wataru\Desktop\packer-windows\packer_cache
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 args: []string{"packer-provisioner-windows-shell"}
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Plugin minimum port: 10000
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Plugin maximum port: 25000
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Plugin address: tcp 127.0.0.1:10000
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Waiting for connection...
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Serving a plugin connection...
2018/03/30 09:23:09 Loading post-processor: vagrant
2018/03/30 09:23:09 Plugin could not be found. Checking same directory as executable.
2018/03/30 09:23:09 Current exe path: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe
2018/03/30 09:23:09 Creating plugin client for path: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe
2018/03/30 09:23:09 Starting plugin: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe []string{"C:\\Users\\sgk_haniyama_wataru\\scoop\\apps\\packer\\current\\packer.exe", "plugin", "packer-post-processor-vagrant"}
2018/03/30 09:23:09 Waiting for RPC address for: C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 [INFO] Packer version: 1.2.2
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Packer Target OS/Arch: windows amd64
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Built with Go Version: go1.10
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Attempting to open config file: C:\Users\sgk_haniyama_wataru\AppData\Roaming\packer.config
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 [WARN] Config file doesn't exist: C:\Users\sgk_haniyama_wataru\AppData\Roaming\packer.config
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Setting cache directory: C:\Users\sgk_haniyama_wataru\Desktop\packer-windows\packer_cache
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 args: []string{"packer-post-processor-vagrant"}
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Plugin minimum port: 10000
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Plugin maximum port: 25000
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Plugin address: tcp 127.0.0.1:10000
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Waiting for connection...
2018/03/30 09:23:09 packer.exe: 2018/03/30 09:23:09 Serving a plugin connection...
2018/03/30 09:23:09 ui: virtualbox-iso output will be in this color.
2018/03/30 09:23:09 ui:
2018/03/30 09:23:09 Build debug mode: false
2018/03/30 09:23:09 Force build: true
2018/03/30 09:23:09 On error:
2018/03/30 09:23:09 Preparing build: virtualbox-iso
2018/03/30 09:23:10 Waiting on builds to complete...
2018/03/30 09:23:10 Starting build run: virtualbox-iso
2018/03/30 09:23:10 Running builder: virtualbox-iso
2018/03/30 09:23:10 [INFO] (telemetry) Starting builder virtualbox-iso
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 [DEBUG] builder/virtualbox: VBOX_MSI_INSTALL_PATH = C:\Program Files\Oracle\VirtualBox\
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 VBoxManage path: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 VBoxManage --version output: 5.2.8r121009
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 VirtualBox version: 5.2.8
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 guest_additions_url is blank; querying driver for iso.
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 Found Default Guest Additions ISO: C:\Program Files\Oracle\VirtualBox/VBoxGuestAdditions.iso
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 Guest additions URL: file:///C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso
2018/03/30 09:23:10 ui: ==> virtualbox-iso: Downloading or copying Guest additions
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 Acquiring lock to download: file:///C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso
2018/03/30 09:23:10 ui: virtualbox-iso: Downloading or copying: file:///C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/C:/Program Files/Oracle/VirtualBox/VBoxGuestAdditions.iso", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 [DEBUG] Using local file: C:/Program Files/Oracle/VirtualBox/VBoxGuestAdditions.iso
2018/03/30 09:23:10 ui: ==> virtualbox-iso: Downloading or copying ISO
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 Acquiring lock to download: file://e:/iso/Windows10/ja_windows_10_multi-edition_vl_version_1709_updated_dec_2017_x64_dvd_100406300.iso
2018/03/30 09:23:10 ui: virtualbox-iso: Downloading or copying: file://e:/iso/Windows10/ja_windows_10_multi-edition_vl_version_1709_updated_dec_2017_x64_dvd_100406300.iso
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"e:", Path:"/iso/Windows10/ja_windows_10_multi-edition_vl_version_1709_updated_dec_2017_x64_dvd_100406300.iso", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 [DEBUG] Using local file: e:/iso/Windows10/ja_windows_10_multi-edition_vl_version_1709_updated_dec_2017_x64_dvd_100406300.iso
2018/03/30 09:23:10 packer.exe: 2018/03/30 09:23:10 Verifying checksum of e:/iso/Windows10/ja_windows_10_multi-edition_vl_version_1709_updated_dec_2017_x64_dvd_100406300.iso
2018/03/30 09:23:59 ui: ==> virtualbox-iso: Creating floppy disk...
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Floppy path: C:\Users\SGK_HA~1\AppData\Local\Temp\packer037315555
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Initializing block device backed by temporary file
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Formatting the block device with a FAT filesystem...
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Initializing FAT filesystem on block device
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Reading the root directory from the filesystem
2018/03/30 09:23:59 ui: virtualbox-iso: Copying files flatly from floppy_files
2018/03/30 09:23:59 ui: virtualbox-iso: Copying file: ./Autounattend/10x64/Autounattend.xml
2018/03/30 09:23:59 ui: virtualbox-iso: Copying file: ./scripts/fixnetwork.ps1
2018/03/30 09:23:59 ui: virtualbox-iso: Copying file: ./scripts/microsoft-updates.bat
2018/03/30 09:23:59 ui: virtualbox-iso: Copying file: ./scripts/win-updates.ps1
2018/03/30 09:23:59 ui: virtualbox-iso: Copying file: ./scripts/oracle-cert.cer
2018/03/30 09:23:59 ui: virtualbox-iso: Done copying files from floppy_files
2018/03/30 09:23:59 ui: virtualbox-iso: Collecting paths from floppy_dirs
2018/03/30 09:23:59 ui: virtualbox-iso: Resulting paths from floppy_dirs : []
2018/03/30 09:23:59 ui: virtualbox-iso: Done copying paths from floppy_dirs
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Suppressing annoying messages in VirtualBox
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Executing VBoxManage: []string{"setextradata", "global", "GUI/RegistrationData", "triesLeft=0"}
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stdout:
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stderr:
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Executing VBoxManage: []string{"setextradata", "global", "GUI/SuppressMessages", "confirmInputCapture,remindAboutAutoCapture,remindAboutMouseIntegrationOff,remindAboutMouseIntegrationOn,remindAboutWrongColorDepth"}
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stdout:
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stderr:
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Executing VBoxManage: []string{"setextradata", "global", "GUI/UpdateCheckCount", "60"}
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stdout:
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stderr:
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Executing VBoxManage: []string{"setextradata", "global", "GUI/UpdateDate", "1 d, 2019-01-01, stable"}
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stdout:
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stderr:
2018/03/30 09:23:59 ui: ==> virtualbox-iso: Creating virtual machine...
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Executing VBoxManage: []string{"createvm", "--name", "packer-virtualbox-iso-1522369389", "--ostype", "Windows10_64", "--register"}
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stdout: Virtual machine 'packer-virtualbox-iso-1522369389' is created and registered.
2018/03/30 09:23:59 packer.exe: UUID: f5e9acd3-8a34-4084-bd13-da3f2fbf3d50
2018/03/30 09:23:59 packer.exe: Settings file: 'D:\VirtualBox VMs\packer-virtualbox-iso-1522369389\packer-virtualbox-iso-1522369389.vbox'
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stderr:
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Executing VBoxManage: []string{"modifyvm", "packer-virtualbox-iso-1522369389", "--boot1", "disk", "--boot2", "dvd", "--boot3", "none", "--boot4", "none"}
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stdout:
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 stderr:
2018/03/30 09:23:59 packer.exe: 2018/03/30 09:23:59 Executing VBoxManage: []string{"modifyvm", "packer-virtualbox-iso-1522369389", "--cpus", "1"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"modifyvm", "packer-virtualbox-iso-1522369389", "--memory", "512"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 ui: ==> virtualbox-iso: Creating hard drive...
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"createhd", "--filename", "output-virtualbox-iso\\packer-virtualbox-iso-1522369389.vdi", "--size", "61440", "--format", "VDI", "--variant", "Standard"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout: Medium created. UUID: 8729a810-f411-4f24-99f6-702d3fafb021
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"storagectl", "packer-virtualbox-iso-1522369389", "--name", "IDE Controller", "--add", "ide"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"storageattach", "packer-virtualbox-iso-1522369389", "--storagectl", "IDE Controller", "--port", "0", "--device", "0", "--type", "hdd", "--medium", "output-virtualbox-iso\\packer-virtualbox-iso-1522369389.vdi", "--nonrotational", "off", "--discard", "off"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"storageattach", "packer-virtualbox-iso-1522369389", "--storagectl", "IDE Controller", "--port", "0", "--device", "1", "--type", "dvddrive", "--medium", "e:/iso/Windows10/ja_windows_10_multi-edition_vl_version_1709_updated_dec_2017_x64_dvd_100406300.iso"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Not attaching guest additions since we're uploading.
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Looking for available port between 5900 and 6000 on 127.0.0.1
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Trying port: 5942
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"modifyvm", "packer-virtualbox-iso-1522369389", "--vrdeaddress", "127.0.0.1", "--vrdeauthtype", "null", "--vrde", "on", "--vrdeport", "5942"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Copying floppy to temp location: C:\Users\SGK_HA~1\AppData\Local\Temp\packer914090982\floppy.vfd
2018/03/30 09:24:00 ui: ==> virtualbox-iso: Attaching floppy disk...
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"storagectl", "packer-virtualbox-iso-1522369389", "--name", "Floppy Controller", "--add", "floppy"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"storageattach", "packer-virtualbox-iso-1522369389", "--storagectl", "Floppy Controller", "--port", "0", "--device", "0", "--type", "fdd", "--medium", "C:\\Users\\SGK_HA~1\\AppData\\Local\\Temp\\packer914090982\\floppy.vfd"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Looking for available communicator (SSH, WinRM, etc) port between 2222 and 4444
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Trying port: 4249
2018/03/30 09:24:00 ui: ==> virtualbox-iso: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 4249)
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"modifyvm", "packer-virtualbox-iso-1522369389", "--natpf1", "packercomm,tcp,127.0.0.1,4249,,5985"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 ui: ==> virtualbox-iso: Executing custom VBoxManage commands...
2018/03/30 09:24:00 ui: virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1522369389 --memory 2048
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"modifyvm", "packer-virtualbox-iso-1522369389", "--memory", "2048"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 ui: virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1522369389 --cpus 2
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"modifyvm", "packer-virtualbox-iso-1522369389", "--cpus", "2"}
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stdout:
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 stderr:
2018/03/30 09:24:00 ui: ==> virtualbox-iso: Starting the virtual machine...
2018/03/30 09:24:00 ui: virtualbox-iso: The VM will be run headless, without a GUI. If you want to
virtualbox-iso: view the screen of the VM, connect via VRDP without a password to
virtualbox-iso: rdp://127.0.0.1:5942
2018/03/30 09:24:00 packer.exe: 2018/03/30 09:24:00 Executing VBoxManage: []string{"startvm", "packer-virtualbox-iso-1522369389", "--type", "headless"}
2018/03/30 09:24:05 packer.exe: 2018/03/30 09:24:05 stdout: Waiting for VM "packer-virtualbox-iso-1522369389" to power on...
2018/03/30 09:24:05 packer.exe: VM "packer-virtualbox-iso-1522369389" has been successfully started.
2018/03/30 09:24:05 packer.exe: 2018/03/30 09:24:05 stderr:
2018/03/30 09:24:05 ui: ==> virtualbox-iso: Waiting 2m0s for boot...
2018/03/30 09:26:05 ui: ==> virtualbox-iso: Typing the boot command...
2018/03/30 09:26:05 packer.exe: 2018/03/30 09:26:05 Waiting for WinRM, up to timeout: 15m0s
2018/03/30 09:26:05 ui: ==> virtualbox-iso: Waiting for WinRM to become available...
2018/03/30 09:26:10 packer.exe: 2018/03/30 09:26:10 [INFO] Attempting WinRM connection...
2018/03/30 09:26:10 packer.exe: 2018/03/30 09:26:10 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:27:25 packer.exe: 2018/03/30 09:27:25 [ERROR] connection error: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62331->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:27:25 packer.exe: 2018/03/30 09:27:25 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62331->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:27:30 packer.exe: 2018/03/30 09:27:30 [INFO] Attempting WinRM connection...
2018/03/30 09:27:30 packer.exe: 2018/03/30 09:27:30 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:28:46 packer.exe: 2018/03/30 09:28:46 [ERROR] connection error: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62338->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:28:46 packer.exe: 2018/03/30 09:28:46 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62338->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:28:51 packer.exe: 2018/03/30 09:28:51 [INFO] Attempting WinRM connection...
2018/03/30 09:28:51 packer.exe: 2018/03/30 09:28:51 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:30:06 packer.exe: 2018/03/30 09:30:06 [ERROR] connection error: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62350->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:30:06 packer.exe: 2018/03/30 09:30:06 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62350->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:30:11 packer.exe: 2018/03/30 09:30:11 [INFO] Attempting WinRM connection...
2018/03/30 09:30:11 packer.exe: 2018/03/30 09:30:11 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:31:21 packer.exe: 2018/03/30 09:31:21 [ERROR] connection error: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62384->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:31:21 packer.exe: 2018/03/30 09:31:21 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62384->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:31:26 packer.exe: 2018/03/30 09:31:26 [INFO] Attempting WinRM connection...
2018/03/30 09:31:26 packer.exe: 2018/03/30 09:31:26 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:31:26 packer.exe: 2018/03/30 09:31:26 [ERROR] connection error: unknown error Post http://127.0.0.1:4249/wsman: EOF
2018/03/30 09:31:26 packer.exe: 2018/03/30 09:31:26 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:4249/wsman: EOF
2018/03/30 09:31:31 packer.exe: 2018/03/30 09:31:31 [INFO] Attempting WinRM connection...
2018/03/30 09:31:31 packer.exe: 2018/03/30 09:31:31 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:32:56 packer.exe: 2018/03/30 09:32:56 [ERROR] connection error: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62414->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:32:56 packer.exe: 2018/03/30 09:32:56 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62414->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:33:01 packer.exe: 2018/03/30 09:33:01 [INFO] Attempting WinRM connection...
2018/03/30 09:33:01 packer.exe: 2018/03/30 09:33:01 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:34:24 packer.exe: 2018/03/30 09:34:24 [ERROR] connection error: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62668->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:34:24 packer.exe: 2018/03/30 09:34:24 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62668->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:34:30 packer.exe: 2018/03/30 09:34:29 [INFO] Attempting WinRM connection...
2018/03/30 09:34:30 packer.exe: 2018/03/30 09:34:29 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:35:47 packer.exe: 2018/03/30 09:35:47 [ERROR] connection error: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62761->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:35:47 packer.exe: 2018/03/30 09:35:47 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62761->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:35:52 packer.exe: 2018/03/30 09:35:52 [INFO] Attempting WinRM connection...
2018/03/30 09:35:52 packer.exe: 2018/03/30 09:35:52 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:37:10 packer.exe: 2018/03/30 09:37:10 [ERROR] connection error: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62777->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:37:10 packer.exe: 2018/03/30 09:37:10 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:4249/wsman: read tcp 127.0.0.1:62777->127.0.0.1:4249: wsarecv: An existing connection was forcibly closed by the remote host.
2018/03/30 09:37:15 packer.exe: 2018/03/30 09:37:15 [INFO] Attempting WinRM connection...
2018/03/30 09:37:15 packer.exe: 2018/03/30 09:37:15 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:37:23 packer.exe: 2018/03/30 09:37:23 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:37:23 packer.exe: 2018/03/30 09:37:23 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:37:28 packer.exe: 2018/03/30 09:37:28 [INFO] Attempting WinRM connection...
2018/03/30 09:37:28 packer.exe: 2018/03/30 09:37:28 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:37:28 packer.exe: 2018/03/30 09:37:28 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:37:28 packer.exe: 2018/03/30 09:37:28 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:37:33 packer.exe: 2018/03/30 09:37:33 [INFO] Attempting WinRM connection...
2018/03/30 09:37:33 packer.exe: 2018/03/30 09:37:33 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:37:33 packer.exe: 2018/03/30 09:37:33 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:37:33 packer.exe: 2018/03/30 09:37:33 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:37:38 packer.exe: 2018/03/30 09:37:38 [INFO] Attempting WinRM connection...
2018/03/30 09:37:38 packer.exe: 2018/03/30 09:37:38 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:37:38 packer.exe: 2018/03/30 09:37:38 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:37:38 packer.exe: 2018/03/30 09:37:38 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:37:43 packer.exe: 2018/03/30 09:37:43 [INFO] Attempting WinRM connection...
2018/03/30 09:37:43 packer.exe: 2018/03/30 09:37:43 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:37:43 packer.exe: 2018/03/30 09:37:43 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:37:43 packer.exe: 2018/03/30 09:37:43 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:37:48 packer.exe: 2018/03/30 09:37:48 [INFO] Attempting WinRM connection...
2018/03/30 09:37:48 packer.exe: 2018/03/30 09:37:48 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:37:48 packer.exe: 2018/03/30 09:37:48 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:37:48 packer.exe: 2018/03/30 09:37:48 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:37:53 packer.exe: 2018/03/30 09:37:53 [INFO] Attempting WinRM connection...
2018/03/30 09:37:53 packer.exe: 2018/03/30 09:37:53 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:37:53 packer.exe: 2018/03/30 09:37:53 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:37:53 packer.exe: 2018/03/30 09:37:53 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:37:58 packer.exe: 2018/03/30 09:37:58 [INFO] Attempting WinRM connection...
2018/03/30 09:37:58 packer.exe: 2018/03/30 09:37:58 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:05 packer.exe: 2018/03/30 09:38:05 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:05 packer.exe: 2018/03/30 09:38:05 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:38:10 packer.exe: 2018/03/30 09:38:10 [INFO] Attempting WinRM connection...
2018/03/30 09:38:10 packer.exe: 2018/03/30 09:38:10 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:10 packer.exe: 2018/03/30 09:38:10 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:10 packer.exe: 2018/03/30 09:38:10 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:38:15 packer.exe: 2018/03/30 09:38:15 [INFO] Attempting WinRM connection...
2018/03/30 09:38:15 packer.exe: 2018/03/30 09:38:15 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:15 packer.exe: 2018/03/30 09:38:15 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:15 packer.exe: 2018/03/30 09:38:15 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:38:20 packer.exe: 2018/03/30 09:38:20 [INFO] Attempting WinRM connection...
2018/03/30 09:38:20 packer.exe: 2018/03/30 09:38:20 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:20 packer.exe: 2018/03/30 09:38:20 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:20 packer.exe: 2018/03/30 09:38:20 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:38:25 packer.exe: 2018/03/30 09:38:25 [INFO] Attempting WinRM connection...
2018/03/30 09:38:25 packer.exe: 2018/03/30 09:38:25 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:25 packer.exe: 2018/03/30 09:38:25 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:25 packer.exe: 2018/03/30 09:38:25 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:38:30 packer.exe: 2018/03/30 09:38:30 [INFO] Attempting WinRM connection...
2018/03/30 09:38:30 packer.exe: 2018/03/30 09:38:30 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:30 packer.exe: 2018/03/30 09:38:30 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:30 packer.exe: 2018/03/30 09:38:30 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:38:35 packer.exe: 2018/03/30 09:38:35 [INFO] Attempting WinRM connection...
2018/03/30 09:38:35 packer.exe: 2018/03/30 09:38:35 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:35 packer.exe: 2018/03/30 09:38:35 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:35 packer.exe: 2018/03/30 09:38:35 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:38:40 packer.exe: 2018/03/30 09:38:40 [INFO] Attempting WinRM connection...
2018/03/30 09:38:40 packer.exe: 2018/03/30 09:38:40 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:40 packer.exe: 2018/03/30 09:38:40 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:40 packer.exe: 2018/03/30 09:38:40 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:38:45 packer.exe: 2018/03/30 09:38:45 [INFO] Attempting WinRM connection...
2018/03/30 09:38:45 packer.exe: 2018/03/30 09:38:45 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:45 packer.exe: 2018/03/30 09:38:45 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:45 packer.exe: 2018/03/30 09:38:45 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:38:50 packer.exe: 2018/03/30 09:38:50 [INFO] Attempting WinRM connection...
2018/03/30 09:38:50 packer.exe: 2018/03/30 09:38:50 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:50 packer.exe: 2018/03/30 09:38:50 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:50 packer.exe: 2018/03/30 09:38:50 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:38:55 packer.exe: 2018/03/30 09:38:55 [INFO] Attempting WinRM connection...
2018/03/30 09:38:55 packer.exe: 2018/03/30 09:38:55 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:38:55 packer.exe: 2018/03/30 09:38:55 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:38:55 packer.exe: 2018/03/30 09:38:55 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:00 packer.exe: 2018/03/30 09:39:00 [INFO] Attempting WinRM connection...
2018/03/30 09:39:00 packer.exe: 2018/03/30 09:39:00 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:00 packer.exe: 2018/03/30 09:39:00 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:00 packer.exe: 2018/03/30 09:39:00 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:05 packer.exe: 2018/03/30 09:39:05 [INFO] Attempting WinRM connection...
2018/03/30 09:39:05 packer.exe: 2018/03/30 09:39:05 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:05 packer.exe: 2018/03/30 09:39:05 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:05 packer.exe: 2018/03/30 09:39:05 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:10 packer.exe: 2018/03/30 09:39:10 [INFO] Attempting WinRM connection...
2018/03/30 09:39:10 packer.exe: 2018/03/30 09:39:10 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:10 packer.exe: 2018/03/30 09:39:10 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:10 packer.exe: 2018/03/30 09:39:10 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:15 packer.exe: 2018/03/30 09:39:15 [INFO] Attempting WinRM connection...
2018/03/30 09:39:15 packer.exe: 2018/03/30 09:39:15 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:15 packer.exe: 2018/03/30 09:39:15 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:15 packer.exe: 2018/03/30 09:39:15 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:20 packer.exe: 2018/03/30 09:39:20 [INFO] Attempting WinRM connection...
2018/03/30 09:39:20 packer.exe: 2018/03/30 09:39:20 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:20 packer.exe: 2018/03/30 09:39:20 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:20 packer.exe: 2018/03/30 09:39:20 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:25 packer.exe: 2018/03/30 09:39:25 [INFO] Attempting WinRM connection...
2018/03/30 09:39:25 packer.exe: 2018/03/30 09:39:25 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:26 packer.exe: 2018/03/30 09:39:26 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:26 packer.exe: 2018/03/30 09:39:26 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:31 packer.exe: 2018/03/30 09:39:31 [INFO] Attempting WinRM connection...
2018/03/30 09:39:31 packer.exe: 2018/03/30 09:39:31 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:31 packer.exe: 2018/03/30 09:39:31 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:31 packer.exe: 2018/03/30 09:39:31 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:36 packer.exe: 2018/03/30 09:39:36 [INFO] Attempting WinRM connection...
2018/03/30 09:39:36 packer.exe: 2018/03/30 09:39:36 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:36 packer.exe: 2018/03/30 09:39:36 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:36 packer.exe: 2018/03/30 09:39:36 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:41 packer.exe: 2018/03/30 09:39:41 [INFO] Attempting WinRM connection...
2018/03/30 09:39:41 packer.exe: 2018/03/30 09:39:41 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:41 packer.exe: 2018/03/30 09:39:41 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:41 packer.exe: 2018/03/30 09:39:41 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:46 packer.exe: 2018/03/30 09:39:46 [INFO] Attempting WinRM connection...
2018/03/30 09:39:46 packer.exe: 2018/03/30 09:39:46 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:46 packer.exe: 2018/03/30 09:39:46 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:46 packer.exe: 2018/03/30 09:39:46 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:51 packer.exe: 2018/03/30 09:39:51 [INFO] Attempting WinRM connection...
2018/03/30 09:39:51 packer.exe: 2018/03/30 09:39:51 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:51 packer.exe: 2018/03/30 09:39:51 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:51 packer.exe: 2018/03/30 09:39:51 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:39:56 packer.exe: 2018/03/30 09:39:56 [INFO] Attempting WinRM connection...
2018/03/30 09:39:56 packer.exe: 2018/03/30 09:39:56 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:39:56 packer.exe: 2018/03/30 09:39:56 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:39:56 packer.exe: 2018/03/30 09:39:56 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:01 packer.exe: 2018/03/30 09:40:01 [INFO] Attempting WinRM connection...
2018/03/30 09:40:01 packer.exe: 2018/03/30 09:40:01 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:01 packer.exe: 2018/03/30 09:40:01 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:01 packer.exe: 2018/03/30 09:40:01 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:06 packer.exe: 2018/03/30 09:40:06 [INFO] Attempting WinRM connection...
2018/03/30 09:40:06 packer.exe: 2018/03/30 09:40:06 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:06 packer.exe: 2018/03/30 09:40:06 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:06 packer.exe: 2018/03/30 09:40:06 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:11 packer.exe: 2018/03/30 09:40:11 [INFO] Attempting WinRM connection...
2018/03/30 09:40:11 packer.exe: 2018/03/30 09:40:11 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:11 packer.exe: 2018/03/30 09:40:11 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:11 packer.exe: 2018/03/30 09:40:11 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:16 packer.exe: 2018/03/30 09:40:16 [INFO] Attempting WinRM connection...
2018/03/30 09:40:16 packer.exe: 2018/03/30 09:40:16 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:16 packer.exe: 2018/03/30 09:40:16 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:16 packer.exe: 2018/03/30 09:40:16 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:21 packer.exe: 2018/03/30 09:40:21 [INFO] Attempting WinRM connection...
2018/03/30 09:40:21 packer.exe: 2018/03/30 09:40:21 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:22 packer.exe: 2018/03/30 09:40:22 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:22 packer.exe: 2018/03/30 09:40:22 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:27 packer.exe: 2018/03/30 09:40:27 [INFO] Attempting WinRM connection...
2018/03/30 09:40:27 packer.exe: 2018/03/30 09:40:27 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:27 packer.exe: 2018/03/30 09:40:27 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:27 packer.exe: 2018/03/30 09:40:27 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:32 packer.exe: 2018/03/30 09:40:32 [INFO] Attempting WinRM connection...
2018/03/30 09:40:32 packer.exe: 2018/03/30 09:40:32 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:32 packer.exe: 2018/03/30 09:40:32 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:32 packer.exe: 2018/03/30 09:40:32 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:37 packer.exe: 2018/03/30 09:40:37 [INFO] Attempting WinRM connection...
2018/03/30 09:40:37 packer.exe: 2018/03/30 09:40:37 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:37 packer.exe: 2018/03/30 09:40:37 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:37 packer.exe: 2018/03/30 09:40:37 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:42 packer.exe: 2018/03/30 09:40:42 [INFO] Attempting WinRM connection...
2018/03/30 09:40:42 packer.exe: 2018/03/30 09:40:42 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:42 packer.exe: 2018/03/30 09:40:42 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:42 packer.exe: 2018/03/30 09:40:42 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:47 packer.exe: 2018/03/30 09:40:47 [INFO] Attempting WinRM connection...
2018/03/30 09:40:47 packer.exe: 2018/03/30 09:40:47 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:47 packer.exe: 2018/03/30 09:40:47 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:47 packer.exe: 2018/03/30 09:40:47 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:52 packer.exe: 2018/03/30 09:40:52 [INFO] Attempting WinRM connection...
2018/03/30 09:40:52 packer.exe: 2018/03/30 09:40:52 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:52 packer.exe: 2018/03/30 09:40:52 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:52 packer.exe: 2018/03/30 09:40:52 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:40:57 packer.exe: 2018/03/30 09:40:57 [INFO] Attempting WinRM connection...
2018/03/30 09:40:57 packer.exe: 2018/03/30 09:40:57 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:40:57 packer.exe: 2018/03/30 09:40:57 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:40:57 packer.exe: 2018/03/30 09:40:57 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:41:02 packer.exe: 2018/03/30 09:41:02 [INFO] Attempting WinRM connection...
2018/03/30 09:41:02 packer.exe: 2018/03/30 09:41:02 [DEBUG] connecting to remote shell using WinRM
2018/03/30 09:41:02 packer.exe: 2018/03/30 09:41:02 [ERROR] connection error: http response error: 401 - invalid content type
2018/03/30 09:41:02 packer.exe: 2018/03/30 09:41:02 [ERROR] WinRM connection err: http response error: 401 - invalid content type
2018/03/30 09:41:05 ui error: ==> virtualbox-iso: Timeout waiting for WinRM.
2018/03/30 09:41:05 packer.exe: 2018/03/30 09:41:05 [INFO] WinRM wait cancelled. Exiting loop.
2018/03/30 09:41:11 packer.exe: 2018/03/30 09:41:11 Executing VBoxManage: []string{"controlvm", "packer-virtualbox-iso-1522369389", "poweroff"}
2018/03/30 09:41:20 packer.exe: 2018/03/30 09:41:20 stdout:
2018/03/30 09:41:20 packer.exe: 2018/03/30 09:41:20 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2018/03/30 09:41:20 packer.exe: 2018/03/30 09:41:20 Executing VBoxManage: []string{"storageattach", "packer-virtualbox-iso-1522369389", "--storagectl", "Floppy Controller", "--port", "0", "--device", "0", "--medium", "none"}
2018/03/30 09:41:22 packer.exe: 2018/03/30 09:41:22 stdout:
2018/03/30 09:41:22 packer.exe: 2018/03/30 09:41:22 stderr:
2018/03/30 09:41:22 packer.exe: 2018/03/30 09:41:22 Executing VBoxManage: []string{"storageattach", "packer-virtualbox-iso-1522369389", "--storagectl", "IDE Controller", "--port", "0", "--device", "1", "--medium", "none"}
2018/03/30 09:41:27 packer.exe: 2018/03/30 09:41:27 stdout:
2018/03/30 09:41:27 packer.exe: 2018/03/30 09:41:27 stderr:
2018/03/30 09:41:27 ui: ==> virtualbox-iso: Deregistering and deleting VM...
2018/03/30 09:41:27 packer.exe: 2018/03/30 09:41:27 Executing VBoxManage: []string{"unregistervm", "packer-virtualbox-iso-1522369389", "--delete"}
2018/03/30 09:41:43 packer.exe: 2018/03/30 09:41:43 stdout:
2018/03/30 09:41:43 packer.exe: 2018/03/30 09:41:43 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2018/03/30 09:41:43 packer.exe: 2018/03/30 09:41:43 Deleting floppy disk: C:\Users\SGK_HA~1\AppData\Local\Temp\packer037315555
2018/03/30 09:41:43 ui: ==> virtualbox-iso: Deleting output directory...
2018/03/30 09:41:43 [INFO] (telemetry) ending virtualbox-iso
2018/03/30 09:41:43 ui error: Build 'virtualbox-iso' errored: Timeout waiting for WinRM.
2018/03/30 09:41:43 Builds completed. Waiting on interrupt barrier...
2018/03/30 09:41:43 machine readable: error-count []string{"1"}
2018/03/30 09:41:43 ui error:
==> Some builds didn't complete successfully and had errors:
2018/03/30 09:41:43 machine readable: virtualbox-iso,error []string{"Timeout waiting for WinRM."}
2018/03/30 09:41:43 ui error: --> virtualbox-iso: Timeout waiting for WinRM.
2018/03/30 09:41:43 ui:
==> Builds finished but no artifacts were created.
2018/03/30 09:41:43 [INFO] (telemetry) Finalizing.
2018/03/30 09:41:45 [WARN] (telemetry) Error finalizing report. This is safe to ignore. Post https://checkpoint-api.hashicorp.com/v1/telemetry/packer: context deadline exceeded
2018/03/30 09:41:45 waiting for all plugin processes to complete...
2018/03/30 09:41:46 C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe: plugin process exited
2018/03/30 09:41:46 C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe: plugin process exited
2018/03/30 09:41:46 C:\Users\sgk_haniyama_wataru\scoop\apps\packer\current\packer.exe: plugin process exited
{
"builders": [
{
"type": "virtualbox-iso",
"iso_url": "{{user `iso_url`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"headless": "{{user `headless`}}",
"boot_wait": "2m",
"communicator": "winrm",
"winrm_username": "vagrant",
"winrm_password": "vagrat",
"winrm_timeout": "15m",
"winrm_insecure": true,
"winrm_use_ssl": false,
"shutdown_command":
"shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"guest_os_type": "Windows10_64",
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"{{user `autounattend`}}",
"./scripts/fixnetwork.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
],
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "{{user `memory_size`}}"],
["modifyvm", "{{.Name}}", "--cpus", "{{user `cpus`}}"]
]
}
],
"provisioners": [
{
"type": "windows-shell",
"remote_path": "/tmp/script.bat",
"scripts": [
"./scripts/vm-guest-tools.bat",
"./scripts/disable-auto-logon.bat",
"./scripts/enable-rdp.bat",
"./scripts/compile-dotnet-assemblies.bat",
"./scripts/compact.bat"
]
}
],
"post-processors": [
{
"type": "vagrant",
"keep_input_artifact": false,
"output": "windows_10_x64_{{.Provider}}.box",
"vagrantfile_template": "vagrantfile-windows_10.template"
}
],
"variables": {
"startup_script": "winrm quickconfig -quiet & net user /add packer & net localgroup administrators packer /add & netsh advfirewall firewall set rule name=\"Windows Remote Management (HTTP-In)\" profile=public new remoteip=any & winrm set winrm/config/service @{AllowUnencrypted=\"true\"} & winrm set winrm/config/service/auth @{Basic=\"true\"} & powershell.exe -NoProfile -ExecutionPolicy Bypass -Command \"Set-ExecutionPolicy -ExecutionPolicy bypass -Force\"",
"autounattend": "./answer_file/10_x64/Autounattend.xml",
"headless": "true",
"cpus": "2",
"memory_size": "2048",
"disk_size": "61440"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment