summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-18 06:00:05 -0500
committerJeff Carr <[email protected]>2024-10-18 06:00:05 -0500
commit14dadbcf3ce8d732354d2c4ef30f3374f80950f9 (patch)
tree73babb209f97782673ee640d538d1cada64fde00 /main.go
parentf5fb6736f60947ad493a0eac17b468177aa40139 (diff)
write out xml file for virsh create (maybe?)
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.go b/main.go
index 671c935..1c62669 100644
--- a/main.go
+++ b/main.go
@@ -49,9 +49,10 @@ func main() {
d := findDroplet(argv.Start)
if d == nil {
log.Info("droplet is unknown:", argv.Start)
- } else {
- log.Info("start droplet here:", d.Hostname)
+ os.Exit(0)
}
+ log.Info("start droplet here:", d.Hostname)
+ makeXml(d)
os.Exit(0)
}