diff --git a/lib/fog/compute/google/models/server.rb b/lib/fog/compute/google/models/server.rb index b01cc4a48a..5570e30794 100644 --- a/lib/fog/compute/google/models/server.rb +++ b/lib/fog/compute/google/models/server.rb @@ -473,6 +473,10 @@ def save(username: nil, public_key: nil) ] end + if attributes[:network_ip] + options[:network_interfaces][0][:network_ip] = attributes[:network_ip] + end + data = service.insert_server(name, zone_name, options) operation = Fog::Compute::Google::Operations