mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
Some checks failed
/ sync-acceptance (push) Has been cancelled
Vagrant Ruby Tests / Vagrant unit tests on Ruby 3.1 (push) Has been cancelled
Vagrant Ruby Tests / Vagrant unit tests on Ruby 3.2 (push) Has been cancelled
Vagrant Ruby Tests / Vagrant unit tests on Ruby 3.3 (push) Has been cancelled
Vagrant Ruby Tests / Vagrant unit tests on Ruby 3.4 (push) Has been cancelled
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
28 lines
621 B
Ruby
28 lines
621 B
Ruby
# Copyright IBM Corp. 2010, 2025
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module GuestAmazon
|
|
class Plugin < Vagrant.plugin("2")
|
|
name "Amazon Linux guest"
|
|
description "Amazon linux guest support."
|
|
|
|
guest(:amazon, :redhat) do
|
|
require_relative "guest"
|
|
Guest
|
|
end
|
|
|
|
guest_capability(:amazon, :flavor) do
|
|
require_relative "cap/flavor"
|
|
Cap::Flavor
|
|
end
|
|
|
|
guest_capability(:amazon, :configure_networks) do
|
|
require_relative "cap/configure_networks"
|
|
Cap::ConfigureNetworks
|
|
end
|
|
end
|
|
end
|
|
end
|