// +build amd64 package lxc import ( "syscall" ) func setHostname(hostname string) error { return syscall.Sethostname([]byte(hostname)) }