Comment 2 for bug 303498

Jim Ewald (jewald) wrote :

The latest patch version is generating a Python TypeError when setting a static IP address on the appliance. I set all four fields in the static IP GUI and then selcted <OK>. Here is the traceback:

Traceback (most recent call last):
  File "/usr/bin/confconsole", line 208, in <module>
  File "/usr/bin/confconsole", line 204, in main
  File "/usr/bin/confconsole", line 201, in loop
  File "/usr/bin/confconsole", line 144, in dialog_adv
  File "/usr/bin/confconsole", line 167, in _adv_staticip
    err - ifutil.set_ipconf(*input)
  File "/usr/lib/confconsole/", line 234, in set_ipconf
    net.set_staticip(addr, netmask, gateway)
TypeError: set_staticIP() takes exactly 3 arguments (4 given)

The /etc/network/interfaces file is not updated after this error occurs.