Comment 0 for bug 1506521

Revision history for this message
Chris Valean (cvalean) wrote :

Hello,
It seems that during the Wily development, some changes have occurred that broke the hv_set_ifconfig script.

Please see the below details and update the script accordingly.
From my understanding the changes in python versioning on 15.10 are causing this, and when running hv_set_ifconfig with Python v3, it will give some code errors.

# whereis hv_set_ifconfig
hv_set_ifconfig: /usr/sbin/hv_set_ifconfig

# /usr/sbin/hv_set_ifconfig
/usr/bin/env: python: No such file or directory

Indeed there is no python executable by default, only python3.

Modifying the header for hv_set_ifconfig to use python3, returns the below:

~# /usr/sbin/hv_set_ifconfig
  File "/usr/sbin/hv_set_ifconfig", line 130
    print "==================================="
                                              ^
SyntaxError: Missing parentheses in call to 'print'