From: Plamen Dimitrov Date: Fri, 4 Oct 2019 14:53:16 +0000 (+0700) Subject: Use a better default value for the nic type of newly defined nics X-Git-Tag: v1.6.2~3^2~1 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=2336a64b188ca8560178dffdb8137c0d5f1729e2;p=pyi2ncommon Use a better default value for the nic type of newly defined nics --- 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))])