Use the custom etc/hosts banner
This commit is contained in:
parent
f1de2def7f
commit
a0882dad49
1
main.go
1
main.go
|
@ -46,6 +46,7 @@ func main() {
|
||||||
|
|
||||||
// Prepare the /etc/hosts writer
|
// Prepare the /etc/hosts writer
|
||||||
hostsFile := &etchosts.EtcHosts{
|
hostsFile := &etchosts.EtcHosts{
|
||||||
|
Banner: "# ! managed automatically for wesher " + config.Banner,
|
||||||
Logger: logrus.StandardLogger(),
|
Logger: logrus.StandardLogger(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue