Skip to content

Unattended install #115

@LukeAllinson

Description

@LukeAllinson

I love the hardware sensors script and it works nicely on my MS-01 on v8 and v9.

I am in the process of creating an ansible playbook to automate the build/configuration of my proxmox nodes and I'd like to be able to incorporate the script into it. Currently, the script is interactive for a few choices:

  • CPU cores (all or average)
  • Zero speed fans (yes or no)
  • Temperature unit (C or F)
  • System information (yes or no)

Could you please add the ability to specify additional [optional] cmd-line arguments to set these options so that the script runs without prompting for input?
Obviously the existing arguments should remain mandatory (i.e. the install mode), but if any of the others are specified then it should not stop the script to prompt. Conversely if any optional arguments are omitted, the script should stop and prompt as it does now for an answer.

I'm happy to have a crack at this myself when I get some free time, but I will confess that bash-scripting is not my primary area of expertise so my code is unlikely to be especially elegant. If I do before you get to it yourself I'll fork the repo.

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