write a fake cloud config i guess
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
89e4f8af71
commit
dd322d7f91
7
main.go
7
main.go
|
@ -217,6 +217,13 @@ func main() {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
fout, err := os.Create(filepath.Join(dir, "user-data"))
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
|
fmt.Fprintln(fout, "#cloud-config")
|
||||||
|
fout.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
isoPath := filepath.Join(cdir, "seed", fmt.Sprintf("%s-%s.iso", *name, vmID))
|
isoPath := filepath.Join(cdir, "seed", fmt.Sprintf("%s-%s.iso", *name, vmID))
|
||||||
|
|
Loading…
Reference in New Issue