mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-26 16:19:08 +08:00
fixes
This commit is contained in:
parent
ce69566201
commit
2a62a045d9
1
.gitignore
vendored
1
.gitignore
vendored
@ -33,5 +33,6 @@ launcher/src/version.rc2
|
|||||||
.idea
|
.idea
|
||||||
.vagrant/
|
.vagrant/
|
||||||
scripts/packer/iso
|
scripts/packer/iso
|
||||||
|
scripts/packer/packer_cache
|
||||||
*.box
|
*.box
|
||||||
|
|
||||||
|
@ -15,12 +15,12 @@
|
|||||||
"disk_size": "{{user `disk_size`}}",
|
"disk_size": "{{user `disk_size`}}",
|
||||||
"floppy_files": [
|
"floppy_files": [
|
||||||
"{{user `autounattend`}}",
|
"{{user `autounattend`}}",
|
||||||
"./scripts/packer/scripts/fixnetwork.ps1",
|
"./scripts/fixnetwork.ps1",
|
||||||
"./scripts/packer/scripts/disable-screensaver.ps1",
|
"./scripts/disable-screensaver.ps1",
|
||||||
"./scripts/packer/scripts/disable-winrm.ps1",
|
"./scripts/disable-winrm.ps1",
|
||||||
"./scripts/packer/scripts/enable-winrm.ps1",
|
"./scripts/enable-winrm.ps1",
|
||||||
"./scripts/packer/scripts/microsoft-updates.bat",
|
"./scripts/microsoft-updates.bat",
|
||||||
"./scripts/packer/scripts/win-updates.ps1"
|
"./scripts/win-updates.ps1"
|
||||||
],
|
],
|
||||||
"guest_additions_mode": "none",
|
"guest_additions_mode": "none",
|
||||||
"iso_checksum": "{{user `iso_checksum`}}",
|
"iso_checksum": "{{user `iso_checksum`}}",
|
||||||
@ -50,12 +50,12 @@
|
|||||||
"disk_type_id": "{{user `disk_type_id`}}",
|
"disk_type_id": "{{user `disk_type_id`}}",
|
||||||
"floppy_files": [
|
"floppy_files": [
|
||||||
"{{user `autounattend`}}",
|
"{{user `autounattend`}}",
|
||||||
"./scripts/packer/scripts/fixnetwork.ps1",
|
"./scripts/fixnetwork.ps1",
|
||||||
"./scripts/packer/scripts/disable-screensaver.ps1",
|
"./scripts/disable-screensaver.ps1",
|
||||||
"./scripts/packer/scripts/disable-winrm.ps1",
|
"./scripts/disable-winrm.ps1",
|
||||||
"./scripts/packer/scripts/enable-winrm.ps1",
|
"./scripts/enable-winrm.ps1",
|
||||||
"./scripts/packer/scripts/microsoft-updates.bat",
|
"./scripts/microsoft-updates.bat",
|
||||||
"./scripts/packer/scripts/win-updates.ps1"
|
"./scripts/win-updates.ps1"
|
||||||
],
|
],
|
||||||
"guest_os_type": "windows9-64",
|
"guest_os_type": "windows9-64",
|
||||||
"headless": "{{user `headless`}}",
|
"headless": "{{user `headless`}}",
|
||||||
@ -91,12 +91,12 @@
|
|||||||
"disk_size": "{{user `disk_size`}}",
|
"disk_size": "{{user `disk_size`}}",
|
||||||
"floppy_files": [
|
"floppy_files": [
|
||||||
"{{user `autounattend`}}",
|
"{{user `autounattend`}}",
|
||||||
"./scripts/packer/scripts/fixnetwork.ps1",
|
"./scripts/fixnetwork.ps1",
|
||||||
"./scripts/packer/scripts/disable-screensaver.ps1",
|
"./scripts/disable-screensaver.ps1",
|
||||||
"./scripts/packer/scripts/disable-winrm.ps1",
|
"./scripts/disable-winrm.ps1",
|
||||||
"./scripts/packer/scripts/enable-winrm.ps1",
|
"./scripts/enable-winrm.ps1",
|
||||||
"./scripts/packer/scripts/microsoft-updates.bat",
|
"./scripts/microsoft-updates.bat",
|
||||||
"./scripts/packer/scripts/win-updates.ps1"
|
"./scripts/win-updates.ps1"
|
||||||
],
|
],
|
||||||
"guest_additions_mode": "disable",
|
"guest_additions_mode": "disable",
|
||||||
"guest_os_type": "Windows10_64",
|
"guest_os_type": "Windows10_64",
|
||||||
@ -125,12 +125,12 @@
|
|||||||
"disk_size": "{{user `disk_size`}}",
|
"disk_size": "{{user `disk_size`}}",
|
||||||
"floppy_files": [
|
"floppy_files": [
|
||||||
"{{user `autounattend`}}",
|
"{{user `autounattend`}}",
|
||||||
"./scripts/packer/scripts/fixnetwork.ps1",
|
"./scripts/fixnetwork.ps1",
|
||||||
"./scripts/packer/scripts/disable-screensaver.ps1",
|
"./scripts/disable-screensaver.ps1",
|
||||||
"./scripts/packer/scripts/disable-winrm.ps1",
|
"./scripts/disable-winrm.ps1",
|
||||||
"./scripts/packer/scripts/enable-winrm.ps1",
|
"./scripts/enable-winrm.ps1",
|
||||||
"./scripts/packer/scripts/microsoft-updates.bat",
|
"./scripts/microsoft-updates.bat",
|
||||||
"./scripts/packer/scripts/win-updates.ps1"
|
"./scripts/win-updates.ps1"
|
||||||
],
|
],
|
||||||
"guest_os_type": "win-10",
|
"guest_os_type": "win-10",
|
||||||
"iso_checksum": "{{user `iso_checksum`}}",
|
"iso_checksum": "{{user `iso_checksum`}}",
|
||||||
@ -173,14 +173,14 @@
|
|||||||
"execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
|
"execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
|
||||||
"remote_path": "/tmp/script.bat",
|
"remote_path": "/tmp/script.bat",
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"./scripts/packer/scripts/enable-rdp.bat"
|
"./scripts/enable-rdp.bat"
|
||||||
],
|
],
|
||||||
"type": "windows-shell"
|
"type": "windows-shell"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"./scripts/packer/scripts/vm-guest-tools.ps1",
|
"./scripts/vm-guest-tools.ps1",
|
||||||
"./scripts/packer/scripts/debloat-windows.ps1"
|
"./scripts/debloat-windows.ps1"
|
||||||
],
|
],
|
||||||
"type": "powershell"
|
"type": "powershell"
|
||||||
},
|
},
|
||||||
@ -190,8 +190,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"./scripts/packer/scripts/set-powerplan.ps1",
|
"./scripts/set-powerplan.ps1",
|
||||||
"./scripts/packer/scripts/docker/disable-windows-defender.ps1"
|
"./scripts/docker/disable-windows-defender.ps1"
|
||||||
],
|
],
|
||||||
"type": "powershell"
|
"type": "powershell"
|
||||||
},
|
},
|
||||||
@ -199,13 +199,13 @@
|
|||||||
"execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
|
"execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
|
||||||
"remote_path": "/tmp/script.bat",
|
"remote_path": "/tmp/script.bat",
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"./scripts/packer/scripts/chocolatey.bat"
|
"./scripts/chocolatey.bat"
|
||||||
],
|
],
|
||||||
"type": "windows-shell"
|
"type": "windows-shell"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"./scripts/packer/scripts/chocopacks.ps1"
|
"./scripts/chocopacks.ps1"
|
||||||
],
|
],
|
||||||
"type": "powershell"
|
"type": "powershell"
|
||||||
},
|
},
|
||||||
@ -213,18 +213,18 @@
|
|||||||
"execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
|
"execute_command": "{{ .Vars }} cmd /c \"{{ .Path }}\"",
|
||||||
"remote_path": "/tmp/script.bat",
|
"remote_path": "/tmp/script.bat",
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"./scripts/packer/scripts/pin-powershell.bat",
|
"./scripts/pin-powershell.bat",
|
||||||
"./scripts/packer/scripts/compile-dotnet-assemblies.bat",
|
"./scripts/compile-dotnet-assemblies.bat",
|
||||||
"./scripts/packer/scripts/set-winrm-automatic.bat",
|
"./scripts/set-winrm-automatic.bat",
|
||||||
"./scripts/packer/scripts/uac-enable.bat",
|
"./scripts/uac-enable.bat",
|
||||||
"./scripts/packer/scripts/dis-updates.bat",
|
"./scripts/dis-updates.bat",
|
||||||
"./scripts/packer/scripts/compact.bat"
|
"./scripts/compact.bat"
|
||||||
],
|
],
|
||||||
"type": "windows-shell"
|
"type": "windows-shell"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"variables": {
|
"variables": {
|
||||||
"autounattend": "./scripts/packer/answer_files/11/Autounattend.xml",
|
"autounattend": "./answer_files/11/Autounattend.xml",
|
||||||
"disk_size": "61440",
|
"disk_size": "61440",
|
||||||
"disk_type_id": "1",
|
"disk_type_id": "1",
|
||||||
"memory": "4096",
|
"memory": "4096",
|
||||||
|
Loading…
Reference in New Issue
Block a user