Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing some useful parameter #16

Open
bitchecker opened this issue Aug 7, 2024 · 4 comments · Fixed by #23
Open

missing some useful parameter #16

bitchecker opened this issue Aug 7, 2024 · 4 comments · Fixed by #23
Labels
enhancement New feature or request

Comments

@bitchecker
Copy link

Hi,
in driver section I see that is possible to configure user for API and SSH but, IMHO, some parameters are missing.

I think that some hardened network configs should require two other parameters:

  • api_port: if proxmox web-ui is behind some reverse proxy
  • ssh_port: if non-standard ssh port is used or a bastion host is running in place
@IamLunchbox
Copy link
Collaborator

I suppose a pull request is most certainly welcome to make these requirements possible. Michael did check on mine quite fast, so it should not take too long to get it merged.

ssh_port maybe need to be templated here and the value should be - in my opinion - derived from a platform value.

api_port is currently implicitly 8006 - the community.general.proxmox_kvm documentation mentioned, that this value may be derived from the environment variable PROXMOX_PORT - so this could fit your needs in the meantime.
If you want to prepare a pull request, the option must be added to all api calls in create.yml and destroy.yml in src/molecule_proxmox/playbooks/.

@meffie
Copy link
Owner

meffie commented Aug 13, 2024

Hmm, yes it seems we could add these to override the default ports. I try to avoid adding configuration unless someone actually needs it, but alternate port numbers seems ok.

@IamLunchbox
Copy link
Collaborator

#19 fixes this issue.

@meffie
Copy link
Owner

meffie commented Sep 18, 2024

#19 fixes this issue.

Thank you. I will do a point release with this change then we can close this issue.

@IamLunchbox IamLunchbox added the enhancement New feature or request label Oct 3, 2024
@IamLunchbox IamLunchbox linked a pull request Oct 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants