diff --git a/integration/provider_install.go b/integration/provider_install.go index 55242a5..ab788f1 100644 --- a/integration/provider_install.go +++ b/integration/provider_install.go @@ -47,6 +47,17 @@ func run() error { if err := provider.ValidateExternalDriverConfig(cfg.Agent); err != nil { return err } + option := cfg.Options["MICROSANDBOX_WORKSPACE_STAT_VIRTUALIZATION"] + if option == nil { + return fmt.Errorf("missing workspace stat virtualization option") + } + values := make([]string, 0, len(option.Enum)) + for _, choice := range option.Enum { + values = append(values, choice.Value) + } + if got := strings.Join(values, ","); got != "strict,relaxed,off" { + return fmt.Errorf("workspace stat virtualization values %q != strict,relaxed,off", got) + } server := httptest.NewServer(http.FileServer(http.Dir(directory))) defer server.Close() for _, binary := range cfg.Agent.Binaries[cfg.Agent.External.Binary] { diff --git a/internal/distribution/provider.yaml.tmpl b/internal/distribution/provider.yaml.tmpl index 6cb697e..eb52208 100644 --- a/internal/distribution/provider.yaml.tmpl +++ b/internal/distribution/provider.yaml.tmpl @@ -53,7 +53,7 @@ options: displayName: "Require stat virtualization support." - value: relaxed displayName: "Use stat virtualization where supported." - - value: off + - value: "off" displayName: "Expose literal host ownership and modes." INACTIVITY_TIMEOUT: description: "If defined, will automatically stop the microVM after the inactivity period. Examples: 10m, 1h"