Skip to content

Commit ab70fa2

Browse files
nybidarigvisor-bot
authored andcommitted
Enable netstack save restore by default.
PiperOrigin-RevId: 760826852
1 parent 9034347 commit ab70fa2

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
@@ -149,7 +149,7 @@ func RegisterFlags(flagSet *flag.FlagSet) {
149149
flagSet.Bool("reproduce-nat", false, "Scrape the host netns NAT table and reproduce it in the sandbox.")
150150
flagSet.Bool(flagReproduceNFTables, false, "Attempt to scrape and reproduce nftable rules inside the sandbox. Overrides reproduce-nat when true.")
151151
flagSet.Bool(flagNetDisconnectOK, true, "Indicates whether open network connections and open unix domain sockets should be disconnected upon save.")
152-
flagSet.Bool("save-restore-netstack", false, "Indicates whether netstack save/restore is enabled.")
152+
flagSet.Bool("save-restore-netstack", true, "Indicates whether netstack save/restore is enabled.")
153153

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

0 commit comments

Comments
 (0)