summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-01-07 15:06:36 +0100
committerLudovic Courtès <ludo@gnu.org>2018-01-07 15:09:05 +0100
commit61b94b8c32e23d83f805ad349060c56b165ea401 (patch)
tree46e519f00a92d1ca4e74e214bb26512274061ddd /gnu/packages
parentbeb7e659f2cb9acdb0698e5c31a745fe0a9ac4b7 (diff)
downloadguix-61b94b8c32e23d83f805ad349060c56b165ea401.tar.gz
vm: 'vm-image' images refer to the root file system by UUID.
This avoids the hard-coded "/dev/sda1", which only made sense when the
image is run with "qemu-system-x86_64 -hda", not when it's passed to
Xen, etc.

Reported by Andreas Enge <andreas@enge.fr>.

* gnu/system/vm.scm (system-qemu-image): Define 'root-uuid', use it as
the 'device' field for "/", and pass it to 'qemu-image'.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions