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

Set the default path for an ISO library to /opt/iso-images/ and add a new config flag to signal hoster where to look for ISOs by default #69

Open
yaroslav-gwit opened this issue Oct 31, 2023 · 1 comment
Assignees
Labels
new feature Label to apply to new features development

Comments

@yaroslav-gwit
Copy link
Owner

yaroslav-gwit commented Oct 31, 2023

To simplify the ISO library management, I'll create a new dataset: /opt/iso-images/. It will then allow you to simply specify ISO name during the VM deployment like so: --from-iso file_name.iso, instead of the full path: --from-iso /opt/iso-images/file_name.iso.

An absolute path will still be supported, but vm deploy --from-iso will first check if the file exists in the /opt/iso-images/.

It will also allow you to use /opt/iso-images/ as a mount point, in case you'd like to share your library across multiple machines.

The improvement will also allow us to implement an easy way to deal with ISOs in the REST API and the WebUI.

@yaroslav-gwit yaroslav-gwit added the new feature Label to apply to new features development label Oct 31, 2023
@yaroslav-gwit yaroslav-gwit self-assigned this Oct 31, 2023
@yaroslav-gwit yaroslav-gwit changed the title Implement ISO library at /opt/iso-images/ Implement ISO library at /opt/iso-images/ and a new config flag to signal hoster where to look for ISOs by default Apr 18, 2024
@yaroslav-gwit yaroslav-gwit changed the title Implement ISO library at /opt/iso-images/ and a new config flag to signal hoster where to look for ISOs by default Set the default path for an ISO library to /opt/iso-images/ and add a new config flag to signal hoster where to look for ISOs by default Apr 18, 2024
@yaroslav-gwit
Copy link
Owner Author

I'll implement this as a separate config flag in hoster_config.json:

"iso_folders": ["/mnt/media/windows_isos", "/opt/iso"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Label to apply to new features development
Projects
None yet
Development

No branches or pull requests

1 participant