mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
vm: Enable QEMU support in the freestanding VM image.
* gnu/system/vm.scm (system-qemu-image): Add 'initrd' field.
This commit is contained in:
parent
3a100e7934
commit
e84d8b30d9
1 changed files with 5 additions and 0 deletions
|
@ -329,6 +329,11 @@ (define file-systems-to-keep
|
||||||
(operating-system-file-systems os)))
|
(operating-system-file-systems os)))
|
||||||
|
|
||||||
(let ((os (operating-system (inherit os)
|
(let ((os (operating-system (inherit os)
|
||||||
|
;; Use an initrd with the whole QEMU shebang.
|
||||||
|
(initrd (cut base-initrd <>
|
||||||
|
#:virtio? #t
|
||||||
|
#:qemu-networking? #t))
|
||||||
|
|
||||||
;; Force our own root file system.
|
;; Force our own root file system.
|
||||||
(file-systems (cons (file-system
|
(file-systems (cons (file-system
|
||||||
(mount-point "/")
|
(mount-point "/")
|
||||||
|
|
Loading…
Reference in a new issue