From 89e4f8af714afa89b3dceaf8057b51fabf50251e Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Mon, 17 May 2021 21:11:01 -0400 Subject: [PATCH] oops lol Signed-off-by: Christine Dodrill --- nixos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos.go b/nixos.go index 302638c..7b06079 100644 --- a/nixos.go +++ b/nixos.go @@ -3,7 +3,7 @@ package main import "path/filepath" func mkNixOSImage(configFname, cacheDir, vmID string) (string, error) { - outputFname := filepath.Join(cacheDir, "nixos", vmID+".qcow2") + outputFname := filepath.Join(cacheDir, "nixos", vmID) err := run("nix-shell", "-p", "nixos-generators", "--run", "nixos-generate -f openstack -o "+outputFname+" -c "+configFname) if err != nil { return "", err