does this work lol
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
6c6b4146dc
commit
c3c0d86f9a
7
main.go
7
main.go
|
@ -132,6 +132,13 @@ func main() {
|
|||
fmt.Print("press enter if this looks okay: ")
|
||||
reader.ReadString('\n')
|
||||
|
||||
if *distro == "nixos" {
|
||||
_, err := mkNixOSImage(*cloudConfig, cdir, vmID)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
_, err = os.Stat(qcowPath)
|
||||
if err != nil {
|
||||
log.Printf("downloading distro image %s to %s", resultDistro.DownloadURL, qcowPath)
|
||||
|
|
Loading…
Reference in New Issue