24 lines
494 B
Ruby
24 lines
494 B
Ruby
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
require "log4r"
|
|
|
|
module Vagrant
|
|
module Action
|
|
module Builtin
|
|
# This middleware updates a specific box if there are updates available.
|
|
class BoxUpdate
|
|
def initialize(app, env)
|
|
@app = app
|
|
@logger = Log4r::Logger.new(
|
|
"vagrant::action::builtin::box_update")
|
|
end
|
|
|
|
def call(env)
|
|
machine = env[:machine]
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|