summaryrefslogtreecommitdiff
path: root/start.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-26 05:17:51 -0500
committerJeff Carr <[email protected]>2024-10-26 05:17:51 -0500
commit0dc393896c640d220a0825b56cc991e91963b7f9 (patch)
tree3c3bd515e61c86bd66a764a740159deda66ce9d3 /start.go
parent11f0cd97b596c2b08936edc2a99c5dac38df7637 (diff)
still works
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'start.go')
-rw-r--r--start.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/start.go b/start.go
index 2645d61..612a824 100644
--- a/start.go
+++ b/start.go
@@ -39,25 +39,3 @@ func newAddXml(domcfg *libvirtxml.Domain, filename string) error {
return virtigoxml.AddDefaultXml(domcfg, string(pfile))
}
-
-/*
-
-func findDisk(filename string) string {
- for _, dirname := range me.cluster.Dirs {
- // log.Info("look in dir", dirname)
- var count int
- newdir, _ := os.ReadDir(dirname)
- for _, file := range newdir {
- count += 1
- if file.Name() == filename {
- log.Info("Found file", filename, "in", dirname)
- return filepath.Join(dirname, file.Name())
- }
- }
- if count == 0 {
- log.Info("Warning? dirname", dirname, "was empty. Not mounted?")
- }
- }
- return ""
-}
-*/