Skip to content

Commit 047c176

Browse files
nybidarigvisor-bot
authored andcommitted
Enable netstack save restore by default.
PiperOrigin-RevId: 760826852
1 parent 609fac8 commit 047c176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runsc/config/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func RegisterFlags(flagSet *flag.FlagSet) {
152152
flagSet.Bool("reproduce-nat", false, "Scrape the host netns NAT table and reproduce it in the sandbox.")
153153
flagSet.Bool(flagReproduceNFTables, false, "Attempt to scrape and reproduce nftable rules inside the sandbox. Overrides reproduce-nat when true.")
154154
flagSet.Bool(flagNetDisconnectOK, true, "Indicates whether open network connections and open unix domain sockets should be disconnected upon save.")
155-
flagSet.Bool("save-restore-netstack", false, "Indicates whether netstack save/restore is enabled.")
155+
flagSet.Bool("save-restore-netstack", true, "Indicates whether netstack save/restore is enabled.")
156156

157157
// Flags that control sandbox runtime behavior: accelerator related.
158158
flagSet.Bool("nvproxy", false, "EXPERIMENTAL: enable support for Nvidia GPUs")

0 commit comments

Comments
 (0)