Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions lib/hammer_cli_katello/host_package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ def self.rex_feature
include UnsupportedKatelloAgentCommandHelper
end

class ContainerfileInstallCommand < HammerCLIKatello::Command
desc _("Generate a Containerfile RUN command from transiently installed packages on image mode hosts")
resource :host_packages, :containerfile_install_command
command_name "containerfile-install-command"

output do
field :command, nil, Fields::Field, :hide_blank => true
field :message, _("Message"), Fields::Field, :hide_blank => true
end

build_options
end

autoload_subcommands
end
end