From 2336a64b188ca8560178dffdb8137c0d5f1729e2 Mon Sep 17 00:00:00 2001 From: Plamen Dimitrov Date: Fri, 4 Oct 2019 21:53:16 +0700 Subject: [PATCH] Use a better default value for the nic type of newly defined nics --- src/mk_config.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mk_config.py b/src/mk_config.py index 60538c7..fed8a53 100644 --- a/src/mk_config.py +++ b/src/mk_config.py @@ -173,7 +173,7 @@ def nic(ip="1.2.3.4", netmask="255.255.0.0", mac="00:00:00:00:00:00", suffix="ho log.info("Create arnied nic configuration") nic = batch_update_cnf( build_nic.BuildNIC(data="", instance=2, line_no=1), - [(Update, ("NIC_TYPE", 0, "PROXYARP")), + [(Update, ("NIC_TYPE", 0, "NATLAN")), (Update, ("NIC_LAN_IP", 0, ip)), (Update, ("NIC_LAN_NETMASK", 0, netmask)), (Update, ("NIC_MAC", 0, mac))]) -- 1.7.1