rm old code

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-01 06:12:30 -05:00
parent 132d0ac076
commit 247a24ccd2
1 changed files with 0 additions and 17 deletions

View File

@ -64,23 +64,6 @@ func setDiskFilename(domcfg *libvirtxml.Domain, filename string) {
} }
} }
func AddDefaultXml(d *libvirtxml.Domain, filename string) error {
/*
fullname := "resources/xml/" + filename + ".xml"
pfile, err := resources.ReadFile(fullname)
if err != nil {
log.Println("ERROR:", err)
return
}
*/
err := d.Unmarshal(filename)
if err != nil {
log.Info("Marshal failed on file", filename)
}
return err
}
func ReadXml(filename string) (*libvirtxml.Domain, error) { func ReadXml(filename string) (*libvirtxml.Domain, error) {
log.Verbose("parse xml file:", filename) log.Verbose("parse xml file:", filename)