more commonality to config files

This commit is contained in:
Jeff Carr 2024-12-05 12:37:47 -06:00
parent 37a3c96227
commit d9be1a53fb
2 changed files with 1 additions and 2 deletions

2
apt.go
View File

@ -30,8 +30,6 @@ func (me *Machine) initPackages() {
log.Info("added", new1.Name, "failed")
}
}
log.Info(me.Hostname, "is", me.Distro, "with", me.Packages.Len(), "packages")
}
func (me *Machine) addNew(name string, version string) bool {

View File

@ -99,6 +99,7 @@ func (m *Machine) ConfigLoad() error {
m.Hostname = hostname
m.Distro = detectDistro()
m.initPackages()
log.Info("zoopb.ConfigLoad()", m.Hostname, "runs", m.Distro, "with", m.Packages.Len(), "packages")
return nil
}