2016-05-31 02:48:39 +00:00
|
|
|
require "vagrant"
|
2015-05-12 14:30:42 +00:00
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module GuestAtomic
|
|
|
|
class Plugin < Vagrant.plugin("2")
|
|
|
|
name "Atomic Host guest"
|
|
|
|
description "Atomic Host guest support."
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest(:atomic, :fedora) do
|
2016-05-31 02:48:39 +00:00
|
|
|
require_relative "guest"
|
2015-05-12 14:30:42 +00:00
|
|
|
Guest
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:atomic, :change_host_name) do
|
2015-05-12 14:30:42 +00:00
|
|
|
require_relative "cap/change_host_name"
|
|
|
|
Cap::ChangeHostName
|
|
|
|
end
|
|
|
|
|
2016-06-17 23:45:20 +00:00
|
|
|
guest_capability(:atomic, :docker_daemon_running) do
|
2015-05-12 14:30:42 +00:00
|
|
|
require_relative "cap/docker"
|
|
|
|
Cap::Docker
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|