From 173d5b44e54764aeffc4f7f5f5c02528e2a9ff3f Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Sun, 10 May 2020 10:23:51 -0500 Subject: [PATCH] add nic type --- install.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.test b/install.test index 67c2bf9..8285c43 100755 --- a/install.test +++ b/install.test @@ -433,7 +433,7 @@ if [ ${version} -gt 4 ]; then awk -i inplace -F'=' -v country="$country" '/REGDOMAIN=/{$0=$1"="country} {print $0}' ${crda} fi jq --null-input --compact-output \ - "{uuid: \"${OMV_CONFIGOBJECT_NEW_UUID}\", devicename: \"${nic}\", method: \"dhcp\", method6: \"dhcp\", wpassid: \"${wifiName}\", wpapsk: \"${wifiPass}\"}" | \ + "{uuid: \"${OMV_CONFIGOBJECT_NEW_UUID}\", devicename: \"${nic}\", type: \"wireless\", method: \"dhcp\", method6: \"dhcp\", wpassid: \"${wifiName}\", wpapsk: \"${wifiPass}\"}" | \ omv-confdbadm update "conf.system.network.interface" - cfg=1 fi