File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ let read_management_conf () =
6767 bridge
6868 in
6969 let mac = Network_utils.Ip. get_mac device in
70- let ipv4_conf, ipv4_gateway, _dns =
70+ let ipv4_conf, ipv4_gateway, dns =
7171 match List. assoc " MODE" args with
7272 | "static" ->
7373 let ip = List. assoc " IP" args |> Unix. inet_addr_of_string in
@@ -93,7 +93,7 @@ let read_management_conf () =
9393 DHCP4 , None , ([] , [] )
9494 in
9595 let phy_interface = {default_interface with persistent_i = true } in
96- let bridge_interface = {default_interface with ipv4_conf; ipv4_gateway; persistent_i = true } in
96+ let bridge_interface = {default_interface with ipv4_conf; ipv4_gateway; persistent_i = true ; dns } in
9797 let interface_config, bridge_config =
9898 let primary_bridge_conf = {default_bridge with
9999 bridge_mac = Some mac;
You can’t perform that action at this time.
0 commit comments