lib/fog/fogdocker/models/compute/server.rb in fog-1.25.0 vs lib/fog/fogdocker/models/compute/server.rb in fog-1.26.0
- old
+ new
@@ -34,10 +34,11 @@
attribute :attach_stderr, :aliases => 'config_attach_stderr'
attribute :host
attribute :image
attribute :exposed_ports, :aliases => 'config_exposed_ports'
attribute :volumes
+ attribute :environment_variables, :aliases => 'config_env'
#raw = {"ID"=>"2ce79789656e4f7474624be6496dc6d988899af30d556574389a19aade2f9650",
# "Created"=>"2014-01-16T12:42:38.081665295Z",
# "Path"=>"/bin/bash",
# "Args"=>[],
@@ -51,9 +52,12 @@
# "AttachStdin"=>true,
# "AttachStdout"=>true,
# "AttachStderr"=>true,
# "PortSpecs"=>nil,
# "ExposedPorts"=>{},
+ # "Env": [
+ # "HOME=/mydir",
+ # ],
# "State"=>{
# "Running"=>true,
# "Pid"=>1505,
# "ExitCode"=>0,
# "StartedAt"=>"2014-01-16T15:50:36.304626413Z",