Comment 2 for bug 303498

Revision history for this message
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>
     main()
  File "/usr/bin/confconsole", line 204, in main
    TurnkeyConsole().loop()
  File "/usr/bin/confconsole", line 201, in loop
    self.dialog_adv()
  File "/usr/bin/confconsole", line 144, in dialog_adv
    method()
  File "/usr/bin/confconsole", line 167, in _adv_staticip
    err - ifutil.set_ipconf(*input)
  File "/usr/lib/confconsole/ifutil.py", 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.