Add vmx_remove_ethernet_interfaces

parent c44f74b1
......@@ -59,6 +59,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -14,6 +14,7 @@
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"vnc_port_min": 5900,
"vnc_port_max": 5980,
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -29,6 +29,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -23,6 +23,7 @@
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -11,7 +11,7 @@
"ssh_wait_timeout": "2h",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"guest_os_type": "windows7srv-64",
"tools_upload_flavor": "windows",
"tools_upload_flavor": "windows",
"disk_size": 61440,
"vnc_port_min": 5900,
"vnc_port_max": 5980,
......@@ -20,6 +20,7 @@
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -22,6 +22,7 @@
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -26,6 +26,7 @@
"./scripts/unattend.xml",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -23,6 +23,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -22,6 +22,7 @@
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -58,6 +58,7 @@
"./scripts/sysprep.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -51,6 +51,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -52,6 +52,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -61,6 +61,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
{
"builders": [
{
"vm_name":"WindowsServer2016CoreDocker",
"vm_name": "WindowsServer2016CoreDocker",
"type": "hyperv-iso",
"disk_size": 41440,
"boot_wait": "0s",
"guest_additions_mode":"disable",
"guest_additions_mode": "disable",
"iso_url": "{{user `iso_url`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "{{user `iso_checksum`}}",
......@@ -16,16 +16,17 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"communicator":"winrm",
"communicator": "winrm",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout" : "{{user `winrm_timeout`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"winrm_timeout": "{{user `winrm_timeout`}}",
"shutdown_command":
"shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"ram_size": 2048,
"cpu": 2,
"switch_name":"{{user `hyperv_switchname`}}",
"enable_secure_boot":true,
"enable_virtualization_extensions":true
"switch_name": "{{user `hyperv_switchname`}}",
"enable_secure_boot": true,
"enable_virtualization_extensions": true
},
{
"type": "vmware-iso",
......@@ -37,8 +38,9 @@
"boot_wait": "2m",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout" : "{{user `winrm_timeout`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"winrm_timeout": "{{user `winrm_timeout`}}",
"shutdown_command":
"shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"guest_os_type": "windows9srv-64",
"disk_size": 61440,
"vnc_port_min": 5900,
......@@ -46,7 +48,6 @@
"floppy_files": [
"{{user `autounattend`}}",
"./floppy/WindowsPowershell.lnk",
"./floppy/PinTo10.exe",
"./scripts/disable-screensaver.ps1",
"./scripts/disable-winrm.ps1",
"./scripts/docker/enable-winrm.ps1",
......@@ -54,6 +55,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......@@ -72,8 +74,9 @@
"boot_wait": "2m",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout" : "{{user `winrm_timeout`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"winrm_timeout": "{{user `winrm_timeout`}}",
"shutdown_command":
"shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"guest_os_type": "Windows2012_64",
"guest_additions_mode": "disable",
"disk_size": 61440,
......@@ -85,34 +88,19 @@
"./scripts/win-updates.ps1"
],
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"2048"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"2"
]
["modifyvm", "{{.Name}}", "--memory", "2048"],
["modifyvm", "{{.Name}}", "--cpus", "2"]
]
}
],
"provisioners": [
{
"type": "windows-shell",
"scripts": [
"./scripts/vm-guest-tools.bat",
"./scripts/enable-rdp.bat"
]
"scripts": ["./scripts/vm-guest-tools.bat", "./scripts/enable-rdp.bat"]
},
{
"type": "powershell",
"scripts": [
"./scripts/debloat-windows.ps1"
]
"scripts": ["./scripts/debloat-windows.ps1"]
},
{
"type": "windows-restart",
......@@ -153,7 +141,8 @@
],
"variables": {
"headless": "false",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/1/4/9/149D5452-9B29-4274-B6B3-5361DBDA30BC/14393.0.161119-1705.RS1_REFRESH_SERVER_EVAL_X64FRE_EN-US.ISO",
"iso_url":
"http://care.dlservice.microsoft.com/dl/download/1/4/9/149D5452-9B29-4274-B6B3-5361DBDA30BC/14393.0.161119-1705.RS1_REFRESH_SERVER_EVAL_X64FRE_EN-US.ISO",
"iso_checksum_type": "md5",
"iso_checksum": "70721288BBCDFE3239D8F8C0FAE55F1F",
"autounattend": "./answer_files/2016_core/Autounattend.xml",
......
......@@ -49,6 +49,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -23,6 +23,7 @@
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -22,6 +22,7 @@
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -58,6 +58,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -61,6 +61,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -51,6 +51,7 @@
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
......@@ -51,6 +51,7 @@
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1"
],
"vmx_remove_ethernet_interfaces": true,
"vmx_data": {
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment