From 58afd120d35c385d98ad0dfef0be454532035180 Mon Sep 17 00:00:00 2001 From: Chong Cai Date: Mon, 5 Apr 2021 11:55:11 -0700 Subject: Set Verity bit in verity_prepare cmd This is needed to enable Xattrs features required by verity. PiperOrigin-RevId: 366843640 --- runsc/cmd/verity_prepare.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runsc/cmd') diff --git a/runsc/cmd/verity_prepare.go b/runsc/cmd/verity_prepare.go index 2197cd3f8..66128b2a3 100644 --- a/runsc/cmd/verity_prepare.go +++ b/runsc/cmd/verity_prepare.go @@ -102,5 +102,7 @@ func (c *VerityPrepare) Execute(_ context.Context, f *flag.FlagSet, args ...inte // Force no networking, it is not necessary to run the verity measure tool. conf.Network = config.NetworkNone + conf.Verity = true + return startContainerAndWait(spec, conf, cid, waitStatus) } -- cgit v1.2.3