Comments (4)
Thought I did the build with PACKER_LOG=1, I'll run it again.
Only change from upstream is changing iso_url to SW_DVD9_Win_Server_STD_CORE_2016_64Bit_English_-4_DC_STD_MLF_X21-70526.ISO
Edit 1
$ env | grep PACKER
PACKER_LOG=1
$ time packer build -only=vmware-iso -var 'disk_size=65536' --force -var-file=/Users/tanner/.packer.d/vsphere.json windows_2016.json > packer.log 2>&1
Post packer.log when it completes or errors.
from packer-windows.
I sometimes build with a MSDN ISO file and it worked for me.
Maybe we can see more with PACKER_LOG
variable set to eg. 1
.
Do you run a different shutdown command?
from packer-windows.
At a loss on what is wrong here. Did some debugging. Installed a pause into the sysprep.bat so I could try a few things by hand.
net stop tiledatamodelsvc
pause
c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:a:\unattend.xml
Packer log snippet
2018/03/26 00:03:21 packer: The Tile Data model server service is stopping.
2018/03/26 00:03:21 packer: The Tile Data model server service was stopped successfully.
2018/03/26 00:03:21 packer:
2018/03/26 00:03:21 packer:
2018/03/26 00:03:21 packer: C:\Users\vagrant>pause
2018/03/26 00:03:21 packer: Press any key to continue . . .
I went to the VM, fired up an Administrator powershell and executed
c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:a:\unattend.xml
And the VM shutdown, Pressed any key to continue and packer still threw an error.
2018/03/26 00:03:21 packer: 2018/03/26 00:03:21 Shutdown stderr:
2018/03/26 00:03:21 ui error: ==> vmware-iso: Timeout while waiting for machine to shut down.
==> vmware-iso: Timeout while waiting for machine to shut down.
Note the timestamp on the Shutdown stderr:, it's like packer isn't wait any amount of time for shutdown to happen.
from packer-windows.
This is a "new" (to my packer builders) but an older iMac. Added
"shutdown_timeout": "1h",
Not images are created as expected.
Closing this issue.
from packer-windows.
Related Issues (20)
- The windows_10 (virtualbox, 2020.11.18) license will expire soon HOT 15
- Win10 build asks for Language during install/first boot; an Update was unsuccessful HOT 5
- The VagrantCloud Hyper-V box version 2020.04.15 isn't being discovered by Vagrant HOT 3
- Confusing information in the README.md HOT 2
- Question - change disk size dynamically for vagrant machine HOT 2
- VagrantCloud W10 virtualbox missing HOT 10
- Improving project reusability HOT 1
- Windows-11 `qemu` builder is missing HOT 3
- Windows could not apply the unattended answer file's <DiskConfiguration> setting HOT 1
- With-windows-updates doesnt start WinRM service HOT 7
- Error when building VirtualBox image on Linux with AMD processor HOT 1
- windows image build with kvm stuck at winrm(booting from floppy) HOT 1
- Building windows_2019_docker with Parallels
- Windows 10 December 2022 updates break the enable-winrm.ps1 script HOT 6
- Windows Server 2022 iso_url out of date? HOT 1
- Building Windows 2019 with Qemu locks up HOT 2
- Waiting for WinRM to become available (again) HOT 2
- "This PC can't run Windows 11" (VirtualBox, Windows 11 iso) HOT 1
- Hyperv provider for windows_2019 HOT 4
- SynchronousCommand hangs with local Windows 10 iso HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-windows.