From 638f15e1f81c62059363b97fef1b4d7845229618 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Thu, 9 Nov 2017 14:44:15 +0000 Subject: [PATCH] tool/qemu: Switch to use github.com/google/uuid With the hyperkit backend switched to this UUID package switch qemu as well. Signed-off-by: Rolf Neugebauer --- src/cmd/linuxkit/run_qemu.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/linuxkit/run_qemu.go b/src/cmd/linuxkit/run_qemu.go index 859715f53..5510c3042 100644 --- a/src/cmd/linuxkit/run_qemu.go +++ b/src/cmd/linuxkit/run_qemu.go @@ -13,7 +13,7 @@ import ( "strconv" "strings" - "github.com/satori/go.uuid" + "github.com/google/uuid" log "github.com/sirupsen/logrus" "golang.org/x/crypto/ssh/terminal" ) @@ -164,7 +164,7 @@ func runQemu(args []string) { qemuContainerized := flags.Bool("containerized", false, "Run qemu in a container") // Generate UUID, so that /sys/class/dmi/id/product_uuid is populated - vmUUID := uuid.NewV4() + vmUUID := uuid.New() // Networking networking := flags.String("networking", qemuNetworkingDefault, "Networking mode. Valid options are 'default', 'user', 'bridge[,name]', tap[,name] and 'none'. 'user' uses QEMUs userspace networking. 'bridge' connects to a preexisting bridge. 'tap' uses a prexisting tap device. 'none' disables networking.`")