From 6c2d320138300dbea519028d16e12d66baa23c9d Mon Sep 17 00:00:00 2001 From: Nicolas Lacasse Date: Tue, 13 Nov 2018 11:13:22 -0800 Subject: Internal change. PiperOrigin-RevId: 221299066 Change-Id: I8ae352458f9976c329c6946b1efa843a3de0eaa4 --- runsc/boot/loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runsc/boot/loader.go') diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go index d953bb783..7cac346c9 100644 --- a/runsc/boot/loader.go +++ b/runsc/boot/loader.go @@ -258,7 +258,7 @@ func New(args Args) (*Loader, error) { NetworkStack: networkStack, ApplicationCores: uint(args.NumCPU), Vdso: vdso, - RootUTSNamespace: kernel.NewUTSNamespace(args.Spec.Hostname, "", creds.UserNamespace), + RootUTSNamespace: kernel.NewUTSNamespace(args.Spec.Hostname, args.Spec.Hostname, creds.UserNamespace), RootIPCNamespace: kernel.NewIPCNamespace(creds.UserNamespace), RootAbstractSocketNamespace: kernel.NewAbstractSocketNamespace(), }); err != nil { -- cgit v1.2.3