Little helper to run CNCF's k3s in Docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
k3d/vendor/github.com/goodhosts/hostsfile/utils_windows.go

12 lines
301 B

package hostsfile
var (
HostsPerLine = 9
HostsFilePath = "${SystemRoot}/System32/drivers/etc/hosts"
eol = "\r\n"
)
func (h *Hosts) preFlushClean() {
// need to force hosts per line always on windows see https://github.com/goodhosts/hostsfile/issues/18
h.HostsPerLine(HostsPerLine)
}