The subnet subcommand seems to be present on git repository but not in RPM files :
RPM files :
# cat bootdisk.rb.save
module HammerCLIForemanBootdisk
class Bootdisk < HammerCLIForeman::Command
resource :disks
class GenericCommand < HammerCLIForemanBootdisk::DownloadCommand
action :generic
command_name 'generic'
success_message _('Successfully downloaded generic disk image to %s')
failure_message _('Failed to download generic disk image')
build_options
end
class HostCommand < HammerCLIForemanBootdisk::DownloadCommand
action :host
command_name 'host'
success_message _('Successfully downloaded host disk image to %s')
failure_message _('Failed to download host disk image')
build_options
end
autoload_subcommands
end
end
# cat version.rb
module HammerCLIForemanBootdisk
def self.version
@version ||= Gem::Version.new '0.1.3'
end
end
There is one technical issue with this gem, we lost permissions to rubygems few years back. The changes were backported into Satellite but we are still unable to push changes there. I’ve created a request for the rubygems repository:
@lzap I’ve made sure our theforeman rubygems account has access to that gem. Ping me or others with that account (@tbrisker and @Ori_Rabin AFAIK) offline if your account needs push access as well.
[lzap@box hammer-cli-foreman-bootdisk]$ gem push hammer_cli_foreman_bootdisk-0.3.0.gem
Pushing gem to https://rubygems.org...
You do not have permission to push to this gem. Ask an owner to add you with: gem owner hammer_cli_foreman_bootdisk --add lzap@redhat.com
We first update nightly and then cherry pick it into a release branch if appropriate. The nightly PR I just merged. It’ll be up to @lzap to request a cherry pick.