[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] xe-reset-networking error


  • To: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Adrian Costin <adrian@xxxxxxxxxxx>
  • Date: Mon, 28 Feb 2011 12:46:22 +0000
  • Accept-language: en-US
  • Delivery-date: Mon, 28 Feb 2011 04:48:33 -0800
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: AcvXRTNc7OocaFqGTJux+MWMV5/Oxw==
  • Thread-topic: xe-reset-networking error

Hi,

 

xe-reset-networking has 2 errors on lines 172 and 174. It will complain about the variable “gateway” and “dns” which do not exist. The correct way would be:

 

                        if options.gateway != '':

                                f.write('GATEWAY=' + options.gateway + '\n')

                        if options.dns != '':

                                f.write('DNS=' + options.dns + '\n')

 

This is on 1.0 RC3.

 

Best regards,

Adrian Costin

 

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.