Add basic docker network action
This commit is contained in:
parent
ec2e0380ee
commit
627251a307
|
@ -0,0 +1,18 @@
|
|||
module VagrantPlugins
|
||||
module DockerProvider
|
||||
module Action
|
||||
class Network
|
||||
def initialize(app, env)
|
||||
@app = app
|
||||
end
|
||||
|
||||
def call(env)
|
||||
# If we aren't using a host VM, then don't worry about it
|
||||
return @app.call(env) if !env[:machine].provider.host_vm?
|
||||
|
||||
@app.call(env)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue