@@ -140,6 +140,7 @@ var generateFlags = []cli.Flag{
140
140
cli.BoolFlag {Name : "windows-ignore-flushes-during-boot" , Usage : "ignore flushes during boot" },
141
141
cli.StringSliceFlag {Name : "windows-layer-folders" , Usage : "specifies a list of layer folders the container image relies on" },
142
142
cli.StringFlag {Name : "windows-network" , Usage : "specifies network for container" },
143
+ cli.BoolFlag {Name : "windows-network-allowunqualifieddnsquery" , Usage : "specifies networking unqualified DNS query is allowed" },
143
144
cli.StringFlag {Name : "windows-network-networkNamespace" , Usage : "specifies network namespace for container" },
144
145
cli.StringFlag {Name : "windows-resources-cpu" , Usage : "specifies CPU for container" },
145
146
cli.Uint64Flag {Name : "windows-resources-memory-limit" , Usage : "specifies limit of memory" },
@@ -935,7 +936,7 @@ func setupSpec(g *generate.Generator, context *cli.Context) error {
935
936
}
936
937
937
938
if context .IsSet ("windows-ignore-flushes-during-boot" ) {
938
- g .SetWinodwsIgnoreFlushesDuringBoot (context .Bool ("windows-ignore-flushes-during-boot" ))
939
+ g .SetWindowsIgnoreFlushesDuringBoot (context .Bool ("windows-ignore-flushes-during-boot" ))
939
940
}
940
941
941
942
if context .IsSet ("windows-layer-folders" ) {
@@ -967,6 +968,10 @@ func setupSpec(g *generate.Generator, context *cli.Context) error {
967
968
g .SetWindowsNetwork (tmpNetwork )
968
969
}
969
970
971
+ if context .IsSet ("windows-network-allowunqualifieddnsquery" ) {
972
+ g .SetWindowsNetworkAllowUnqualifiedDNSQuery (context .Bool ("windows-network-allowunqualifieddnsquery" ))
973
+ }
974
+
970
975
if context .IsSet ("windows-network-networkNamespace" ) {
971
976
g .SetWindowsNetworkNamespace (context .String ("windows-network-networkNamespace" ))
972
977
}
@@ -995,7 +1000,7 @@ func setupSpec(g *generate.Generator, context *cli.Context) error {
995
1000
}
996
1001
997
1002
if context .IsSet ("windows-servicing" ) {
998
- g .SetWinodwsServicing (context .Bool ("windows-servicing" ))
1003
+ g .SetWindowsServicing (context .Bool ("windows-servicing" ))
999
1004
}
1000
1005
1001
1006
err := addSeccomp (context , g )
0 commit comments