openstack?

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-05-17 20:54:05 -04:00
parent 4b03ce4078
commit 555d35e340
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import "path/filepath"
func mkNixOSImage(configFname, cacheDir, vmID string) (string, error) {
outputFname := filepath.Join(cacheDir, "nixos", vmID+".qcow2")
err := run("nix-shell", "-p", "nixos-generators", "--run", "nixos-generate -f qcow -o "+outputFname+" -c "+configFname)
err := run("nix-shell", "-p", "nixos-generators", "--run", "nixos-generate -f openstack -o "+outputFname+" -c "+configFname)
if err != nil {
return "", err
}