guix-play/gnu/system
Ludovic Courtès 9edbb2d7a4
services: Add ‘virtual-build-machine’ service.
* gnu/services/virtualization.scm (<virtual-build-machine>): New record type.
(%build-vm-ssh-port, %build-vm-secrets-port, %x86-64-intel-cpu-models):
New variables.
(qemu-cpu-model-for-date, virtual-build-machine-ssh-port)
(virtual-build-machine-secrets-port): New procedures.
(%minimal-vm-syslog-config, %virtual-build-machine-operating-system):
New variables.
(virtual-build-machine-default-image):
(virtual-build-machine-account-name)
(virtual-build-machine-accounts)
(build-vm-shepherd-services)
(initialize-build-vm-substitutes)
(build-vm-activation)
(virtual-build-machine-offloading-ssh-key)
(virtual-build-machine-activation)
(virtual-build-machine-secret-root)
(check-vm-availability)
(build-vm-guix-extension): New procedures.
(initialize-hurd-vm-substitutes): Remove.
(hurd-vm-activation): Rewrite in terms of ‘build-vm-activation’.
* gnu/system/vm.scm (linux-image-startup-command): New procedure.
(operating-system-for-image): Export.
* gnu/tests/virtualization.scm (run-command-over-ssh): New procedure,
extracted from…
(run-childhurd-test): … here.
[test]: Adjust accordingly.
(%build-vm-os): New variable.
(run-build-vm-test): New procedure.
(%test-build-vm): New variable.
* doc/guix.texi (Virtualization Services)[Virtual Build Machines]: New
section.
(Build Environment Setup): Add cross-reference.

Change-Id: I0a47652a583062314020325aedb654f11cb2499c
2024-02-10 23:21:07 +01:00
..
examples gnu: vm-image.tmpl: Improve SPICE dynamic resizing. 2023-12-30 00:28:14 -05:00
images images: Add orangepi-r1-plus-lts image. 2023-12-22 16:06:15 -08:00
accounts.scm Revert "system: accounts: Export <user-account>." 2023-10-05 23:14:54 +02:00
file-systems.scm file-systems: Add tracefs to %pseudo-file-system-types. 2023-12-10 21:47:52 +01:00
hurd.scm system: hurd: Use the Shepherd 0.10.x. 2024-01-08 23:14:46 +01:00
image.scm services: Add ‘virtual-build-machine’ service. 2024-02-10 23:21:07 +01:00
install.scm images: Add orangepi-r1-plus-lts image. 2023-12-22 16:06:15 -08:00
keyboard.scm
linux-container.scm linux-container: Inherit essential services. 2024-02-05 22:29:45 +01:00
linux-initrd.scm
locale.scm locale: Set %default-locale-definitions to glibc/hurd on the Hurd. 2023-09-16 15:35:25 +02:00
mapped-devices.scm mapped-devices: Allow unlocking by a key file. 2024-01-14 23:00:03 +01:00
nss.scm
pam.scm system: pam: Change 'stop' method to return #f. 2023-05-21 01:04:39 +02:00
setuid.scm
shadow.scm system: default-zprofile: Sync with home zprofile. 2024-01-17 11:11:10 +02:00
uuid.scm uuid: Fix NTFS UUID stringification. 2023-06-18 02:00:10 +02:00
vm.scm services: Add ‘virtual-build-machine’ service. 2024-02-10 23:21:07 +01:00