microsoft / lis-test

Contains test infrastructure for testing Linux virtual machines on Windows Azure and Hyper-V.
32 stars 72 forks source link

Update utils.sh CreateIfupConfigFile to remove NM_Controlled as No #1102

Closed lixuemin2016 closed 6 years ago

lixuemin2016 commented 6 years ago

Hi Chris, Generally during testing, NetworkManager service is disabled, I see it disable in the aio.sh. In our local test, we disable NetworkManager too, most of our network test cases run as network status enabled

If disable network service, only enable NetworkManager, it needs to remove "NM_CONTROLLED=no" line to make the NIC created successfully. Related test cases: GuestOnlyNetwork ChangeNetTypeGuest JumboFrame VlanTagging Note: VlanTrunking_ipv6 cannot pass if disable network and only NetworkManager enabled, I try using "nmcli con add type vlan con-name VLAN20 dev eth0 id 20 ip6 xxxx" in createVlanConfig, still need debug, only share information.

Thank you so much.