search for: gen_address

Displaying 1 result from an estimated 1 matches for "gen_address".

Did you mean: end_address
2009 Nov 03
0
[PATCH server] suggest ip address for nics/bondings on edit host/vm network forms
...h{ |net| nnic = Nic.new(:mac => Nic::gen_mac, :network => net) if(net.boot_type.proto == 'static') - nnic.ip_addresses << IpAddress.new(:address => '127.0.0.1') # FIXME + nnic.ip_addresses << IpAddress.new(:address => net.gen_address) end @nics.push nnic } diff --git a/src/app/models/ip_address.rb b/src/app/models/ip_address.rb index 13f5d19..2909e4e 100644 --- a/src/app/models/ip_address.rb +++ b/src/app/models/ip_address.rb @@ -17,6 +17,8 @@ # MA 02110-1301, USA. A copy of the GNU General Public Lice...