chef / bento

Packer templates for building minimal Vagrant baseboxes for multiple platforms
Apache License 2.0
4.24k stars 1.12k forks source link

Windows nano 2016 is unsigned image #938

Closed spuder closed 6 years ago

spuder commented 7 years ago

The nano 2016 image is not signed and thus won't boot

packer build windows-nano-tp3.json
virtualbox-iso output will be in this color.

==> virtualbox-iso: Downloading or copying ISO
    virtualbox-iso: Downloading or copying: http://care.dlservice.microsoft.com/dl/download/7/3/C/73C250BE-67C4-440B-A69B-D0E8EE77F01C/10514.0.150808-1529.TH2_RELEASE_SERVER_OEMRET_X64FRE_EN-US.ISO
==> virtualbox-iso: Creating floppy disk...
    virtualbox-iso: Copying files flatly from floppy_files
    virtualbox-iso: Copying file: scripts/Autounattend.xml
    virtualbox-iso: Copying file: scripts/nano_create.ps1
    virtualbox-iso: Copying file: scripts/nano_cleanup.ps1
    virtualbox-iso: Copying file: scripts/SetupComplete.cmd
    virtualbox-iso: Copying file: scripts/postunattend.xml
    virtualbox-iso: Done copying files from floppy_files
    virtualbox-iso: Collecting paths from floppy_dirs
    virtualbox-iso: Resulting paths from floppy_dirs : []
    virtualbox-iso: Done copying paths from floppy_dirs
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Attaching floppy disk...
==> virtualbox-iso: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 3231)
==> virtualbox-iso: Executing custom VBoxManage commands...
    virtualbox-iso: Executing: modifyvm windows-nano-tp3 --natpf1 guest_winrm,tcp,,55985,,5985
    virtualbox-iso: Executing: modifyvm windows-nano-tp3 --memory 2048
    virtualbox-iso: Executing: modifyvm windows-nano-tp3 --vram 36
    virtualbox-iso: Executing: modifyvm windows-nano-tp3 --cpus 2
    virtualbox-iso: Executing: modifyvm windows-nano-tp3 --hardwareuuid 02f110e7-369a-4bbc-bbe6-6f0b6864ccb6
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Waiting 10s for boot...
==> virtualbox-iso: Typing the boot command...
==> virtualbox-iso: Waiting for WinRM to become available...

I suspect this might be an old copy of 2016 http://care.dlservice.microsoft.com/dl/download/7/3/C/73C250BE-67C4-440B-A69B-D0E8EE77F01C/10514.0.150808-1529.TH2_RELEASE_SERVER_OEMRET_X64FRE_EN-US.ISO

screenshot 2017-11-14 13 19 34
cheeseplus commented 7 years ago

This is an old copy and nobody has really touched it since Matt initially did all that time ago - we have no real intention of keeping it up-to-date given Nano isn't quite the same thing as it was expected to be a while ago.

If you'd be interested in updating it, we'd accept a PR but I think the more likely path is removal.

spuder commented 7 years ago

I'll see if I can find a valid ISO url.

cheeseplus commented 6 years ago

Closing this one as "Won't Fix", we're going to remove this template but I'd like to get at least one Windows template into bento first (just to keep folder structure) but I don't think Nano is going anywhere that makes sense for us to support.