Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/fog/compute/digitalocean/models/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class Server < Fog::Compute::Server
attribute :backups
attribute :ipv6
attribute :ssh_keys
attribute :user_data

def public_ip_address
ipv4_address
Expand Down Expand Up @@ -59,6 +60,7 @@ def save
options[:private_networking] = private_networking
options[:backups] = backups
options[:ipv6] = ipv6
options[:user_data] = user_data

data = service.create_server(name, size, image, region, options)

Expand Down