diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-09-06 23:16:09 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-09-11 22:26:29 +0200 |
commit | 5f7fe1c57ecb9525aa7e13e38af2aab022bae078 (patch) | |
tree | 34ffca7d486d64b16e892750964a9deb144d08e2 /guix.scm | |
parent | fd3b4b985d5bbd5d91362aa91079c1155018fa34 (diff) | |
download | patches-5f7fe1c57ecb9525aa7e13e38af2aab022bae078.tar patches-5f7fe1c57ecb9525aa7e13e38af2aab022bae078.tar.gz |
vm: Generate a UUID to identify the root file system.
This makes collisions less likely than when using a label to look up the
partition. See <https://bugs.gnu.org/27735>.
* gnu/system/vm.scm (operating-system-uuid): New procedure.
(system-disk-image): Define 'root-uuid' and use it for the root file
system. Pass it to 'iso9660-image' and 'qemu-image'.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions