{"description":"Experimental Vagrant boxes for testing https://github.com/kubernetes-sigs/sig-windows-dev-tools setup on Windows host. Source https://github.com/mloskot/sig-windows-dev-tools-boxes\r\n","short_description":"Experimental Vagrant boxes for testing https://github.com/kubernetes-sigs/sig-windows-dev-tools setup on Windows host. Source https://github.com/mloskot/sig-windows-dev-tools-boxes\r\n","name":"mloskot/sig-windows-dev-tools-windows-2022","versions":[{"version":"2.0","status":"active","description_html":"
Custom version of gusztavvargadr/windows-server-2022-standard-core\ndedicated for use with kubernetes-sigs/sig-windows-dev-tools
\n\nList of essential features of the original base box:
\n\nvagrant
with password vagrant
and Vagrant's insecure keyList of additional custom changes (see provision.ps1):
\n\nwinworker
Vagrantfile
:
Windows2022_64
vboxsvga
vagrant ssh -c <command>
It is fragile.\nIt is broken.\nIt may or will try run bash -l -c <command>
on Windows box, depending on specifics of particular Windows box.
The workaround is to
\n\nvagrant winrm -c <command>\n
\n\nor
\n\nvagrant ssh -- <command>\n
\n\nwhere the latter can easily trip over a complex command not properly escaped.
\n","description_markdown":"Custom version of [gusztavvargadr/windows-server-2022-standard-core](https://app.vagrantup.com/gusztavvargadr/boxes/windows-server-2022-standard-core)\r\ndedicated for use with [kubernetes-sigs/sig-windows-dev-tools](https://github.com/kubernetes-sigs/sig-windows-dev-tools)\r\n\r\nList of essential features of the original base box:\r\n\r\n- User `vagrant` with password `vagrant` and Vagrant's insecure key\r\n- Windows Updates disabled\r\n- Maintenance tasks disabled\r\n- Windows Defender disabled\r\n- UAC disabled\r\n\r\nList of additional custom changes (see [provision.ps1](https://github.com/mloskot/sig-windows-dev-tools-boxes/blob/f1b63ebfeddd83c6661ea15df3c4410de0f39b39/provision.ps1)):\r\n\r\n- Installed VirtualBox Guest Additions 7.0.8\r\n- Installed Windows Feature Containers\r\n- Installed ContainerD 1.7.0 and nerdctl 1.4.0 (see [install-containerd-runtime.ps1](https://github.com/mloskot/sig-windows-dev-tools-boxes/blob/f1b63ebfeddd83c6661ea15df3c4410de0f39b39/install-containerd-runtime.ps1))\r\n- Uninstalled Windows Defender\r\n- Uninstalled selection of unused Windows Features\r\n- Uninstalled Chef Infra Client\r\n- Enabled PowerShell as OpenSSH default shell\r\n- Hostname renamed to `winworker`\r\n\r\n`Vagrantfile`:\r\n\r\n- Set VirtualBox OS type as `Windows2022_64`\r\n- Set explicit graphic controller `vboxsvga`\r\n- Disabled VirtualBox GUI features\r\n- Disabled VirtualBox 2D and 3D acceleration\r\n- Disabled VirtualBox Remote Desktop\r\n- Disabled Clipboard\r\n- Disabled Drag-n-Drop\r\n\r\n## `vagrant ssh -cCustom version of valengus/windows-2022-standard-core for use with https://github.com/kubernetes-sigs/sig-windows-dev-tools with the following tweaks:
\n\nsc config WinRM start= auto
netsh advfirewall set allprofiles state off
Windows2019_64