Commit Graph

62 Commits

Author SHA1 Message Date
b9e261de6f layers msvc cache: update outputHash 2023-05-25 15:59:36 +02:00
285b33a674 autounattend: fix installation without productKey 2023-05-25 15:59:36 +02:00
9a92143337 autounattend: disable forced password expiry in autounattended install stage already 2023-05-25 15:59:36 +02:00
16e041282f add enableTpm 2023-05-25 15:59:36 +02:00
bc24fd6a2b autounattend: remove more optional bypasses 2023-05-25 15:59:36 +02:00
af9218e652 remove configurable efi flag
Win11 is EFI-only
2023-05-25 15:59:36 +02:00
fe347240f5 enable secureboot 2023-05-25 15:59:36 +02:00
d2d9c7acf6 layers.msvc: update bootstapper sha256 2023-05-25 15:59:36 +02:00
267b3eec44 autounattend: explicitly set the InstallFrom/Path
Apparently required for Win11.
2023-05-25 15:59:36 +02:00
1550caf442 autounattend: add Bypass*Check
At least the TPM2.0 is missing from our qemu run but Windows 11's error
message doesn't reveal what else is missing. It is therefore hard to
estimate the work to do this properly.
2023-05-25 15:59:36 +02:00
598b311215 windowsIso: Win10_21H2 -> Win11_22H2 2023-05-25 15:59:36 +02:00
79c1685f89 virtioWinIso: 0.1.185-2 -> 0.1.229-1 2023-05-23 21:48:23 +02:00
a3df68b61f README: add flakes section 2022-10-13 21:41:23 +02:00
6542c37863 wfvm/demo-image: make buildable from flake 2022-10-13 21:41:03 +02:00
abd67ce2e6 wfvm/layers: update msvc binary sha256 2022-10-13 21:39:56 +02:00
a6b677f564 wfvm/win: upgrade windowsIso from 21H1 to 21H2 2022-10-13 21:39:33 +02:00
d8e9f9878b wfvm/utils: update baseRtc 2022-10-12 21:29:11 +02:00
5ba57fb502 wfvm/win: pass format of backing image to qemu-img
required since qemu 6.1.0
2022-10-12 21:05:39 +02:00
dfdcf0f19a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/c5924154f000e6306030300592f4282949b2db6c' (2022-10-08)
  → 'github:nixos/nixpkgs/285e77efe87df64105ec14b204de6636fb0a7a27' (2022-10-11)
2022-10-12 19:05:56 +02:00
9845a99863 flake.nix: switch input back to nixos-unstable now that fix PRs have landed 2022-10-12 19:04:51 +02:00
4f7aef8788 wfvm/win: replace libguestfs with guestfs-tools
tools like virt-make-fs have been split off into a separate package.
2022-10-11 00:10:58 +02:00
c124cfc5dc flakify 2022-10-11 00:10:32 +02:00
3b87f787a8 s/runCommandNoCC/runCommand/ 2022-10-05 16:46:27 +02:00
b33b71eec7 wfvm/win: lower wimsplit size to 4070 MB for more headroom 2022-10-05 16:07:06 +02:00
c732c671d9 wfvm/layers: update vs_Community.exe sha256 2022-10-05 16:06:43 +02:00
9d07da799c Merge remote-tracking branch 'origin/master' 2021-12-17 20:33:52 +01:00
a4fe5f0475 update visual studio garbage 2021-11-14 20:15:26 +08:00
c7d9060eee vs: update 2021-09-09 20:48:48 +08:00
50471a28f8 Merge upstream 2021-09-09 00:46:43 +02:00
db995f7d77 layers: add disable-scheduled-defrag 2021-09-09 00:46:01 +02:00
93796f7a71 vs: update output hash
This is only a temporary solution - the source of the non determinism
should be found and fixed.
2021-09-06 09:14:20 +08:00
6d9d9d91f6 update Anaconda 2021-07-05 10:54:24 +08:00
680d70094f update windowsImage to Windows 10-21H1 2021-06-30 23:55:49 +02:00
a84d2d8d90 utils: replace qemu_test with qemu
qemu_test lacks support for QXL VGA
2021-06-30 23:07:40 +02:00
520898c1db bundle: fix for newer go version 2021-06-30 21:36:25 +02:00
11a40de18a utils: fail on sftp errors 2021-06-19 01:15:29 +02:00
110fe11f00 install openssh from github
this removes the need for the windows version's OpenSSH.Server
feature-on-demand package which is not publicly available.

fixes gitea issue #6 <M-Labs/wfvm#6>
2021-06-16 15:13:12 +02:00
07813c3c4f remove wimsplit, do imageSelection by name 2021-06-05 20:43:55 +02:00
54d9f41a6d autounattend: use ForceShutdownNow instead of FirstLogonCommands shutdown
this moves the return a little earlier in the installation process.
it is less of a hack, and less problematic with custom `defaultUser`
settings.
2021-04-18 00:55:01 +02:00
ec54c9bf9b install and use virtio drivers
(virtio disk, qxl vga, virtio net)

fixes Gitea issue #7
2021-04-11 10:03:47 +08:00
4771cee64b layers: add collapseLayers 2021-04-10 23:25:29 +02:00
78c9363b64 demo-image: use empty installCommands for impureMode 2021-04-10 23:25:29 +02:00
9f8a1b6e17 layers: add disable-firewall, disable-autosleep, disable-autolock 2021-04-10 23:25:29 +02:00
f1b52c0da7 autounattend: Revert back to driveLetter D 2021-03-10 13:35:49 +01:00
0becb115f6 win: Use maximum size to split install.wim 2021-03-10 11:10:09 +01:00
84ef1ec7e5 win: cdimage naming, closure shrinking 2021-03-10 11:09:49 +01:00
1357f493bd Add support for legacy installations 2021-03-09 10:48:29 +01:00
e8232ab89a win: Allow for selection specific image
This is useful if the install.wim contains multiple Windows versions
(e.g., Home, Pro, ..), because the autounattend file will always select
index 1. With this mechanism, a variant different from the first one can
be automatically selected. imageSelection can be either an index (1-N)
or the image name wiminfo can list all images contained in a given WIM
file.

The default case is index 1, which has the same effect as before, with
the possibility of having a slightly smaller install.wim file because
all unwanted variants are discarded.
2021-03-09 10:36:56 +01:00
90cc7b14a4 Use q35 and xHCI for more performance 2021-03-09 10:36:56 +01:00
fbd5b97d79 Split install.wim before creating USB image
With newer Windows 10 versions, `install.wim` can become larger than
4GiB, which can't be placed in a FAT32 partition anymore. By splitting
it into chunks with `wimsplit` and removing `install.wim`, the larger
images work fine.
2021-03-09 10:36:56 +01:00