@apw the python script is assuming that the NIC is configured via /etc/network/interfaces. Over a year ago we changed Cloud Images from using /etc/network/interfaces with the primary configuration to using /etc/network/interfaces.d/<INT>.cfg and using /etc/network/interface to source them. Bare metal installations
I have confirmed that our version of hv_set_ifconfig does not handle this change. Bare metal installations from media should be using /etc/network/interfaces, so the installed script should continue to work just fine. ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Ben Howard (utlemming) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1301019 Title: hyper-v: ifdown command not working due to bad ifstate Status in “linux” package in Ubuntu: Confirmed Bug description: It appears that ifdown command is not working because “/run/network/ifstate" does not contain eth0=eth0. This in turn causes hyper-v's script hv_set_ifconfig.sh to fail as follows: root@ubuntu:~# ./hv_set_ifconfig.sh /var/lib/hyperv/ifcfg-eth0 ifdown: interface eth0 not configured RTNETLINK answers: File exists Failed to bring up eth0. It appears that something is wrong with your core networking files for trusty. Please could you help fix? Thanks, Abhishek To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1301019/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp