mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson) Upstream-commit: 359b7df5d2af5733b8a1ea6746d062053053b23e Component: engine
12 lines
143 B
Go
12 lines
143 B
Go
// +build amd64
|
|
|
|
package lxc
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func setHostname(hostname string) error {
|
|
return syscall.Sethostname([]byte(hostname))
|
|
}
|