Skip to content

enhance: Add --version flag to all scripts #8

@williamzujkowski

Description

@williamzujkowski

Summary

Several scripts define SCRIPT_VERSION but don't expose it via a --version flag.

Scripts to update

  • generate_nocloud_iso.sh
  • virt_install_agent_vm.sh
  • run_bootstrap_on_vm.sh
  • snapshot_manager.sh
  • setup.sh
  • guest/bootstrap_agent_vm.sh

Implementation

Add case for -v|--version in argument parsing that prints version and exits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions