summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-09-25 23:48:18 +0000
committergVisor bot <gvisor-bot@google.com>2019-09-25 23:48:18 +0000
commitbf8a45ee0966b102081833e859135ea2f7aea7cc (patch)
treeb5d3f2d5b8cdb480df02e6c5a5641a681d4ace77 /runsc/boot
parent38a7d3675851376a176b90d4480f4d70d1448d83 (diff)
parentdd0e5eedaeb21582820856cbe68eb2a625f395aa (diff)
Merge release-20190806.1-195-gdd0e5ee (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/runsc/boot/config.go b/runsc/boot/config.go
index 31103367d..38278d0a2 100644
--- a/runsc/boot/config.go
+++ b/runsc/boot/config.go
@@ -167,6 +167,9 @@ type Config struct {
// Overlay is whether to wrap the root filesystem in an overlay.
Overlay bool
+ // FSGoferHostUDS enables the gofer to mount a host UDS.
+ FSGoferHostUDS bool
+
// Network indicates what type of network to use.
Network NetworkType
@@ -253,6 +256,7 @@ func (c *Config) ToFlags() []string {
"--debug-log-format=" + c.DebugLogFormat,
"--file-access=" + c.FileAccess.String(),
"--overlay=" + strconv.FormatBool(c.Overlay),
+ "--fsgofer-host-uds=" + strconv.FormatBool(c.FSGoferHostUDS),
"--network=" + c.Network.String(),
"--log-packets=" + strconv.FormatBool(c.LogPackets),
"--platform=" + c.Platform,