diff options
author | Chong Cai <chongc@google.com> | 2021-04-05 11:55:11 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-05 11:56:59 -0700 |
commit | 58afd120d35c385d98ad0dfef0be454532035180 (patch) | |
tree | b141993600fd074649a72e1b2ee14fea14cf918e /runsc/cmd | |
parent | 3007ae647d2e7a8800f3550f5ffc53c5e73415ce (diff) |
Set Verity bit in verity_prepare cmd
This is needed to enable Xattrs features required by verity.
PiperOrigin-RevId: 366843640
Diffstat (limited to 'runsc/cmd')
-rw-r--r-- | runsc/cmd/verity_prepare.go | 2 |
1 files changed, 2 insertions, 0 deletions
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) } |