Skip to content

Conversation

@spline2hg
Copy link
Contributor

Summary

Fixes #379

Changes urunc-deploy to install all artifacts under /opt/urunc directory instead of scattering them across multiple directories. Also auto-generates /etc/urunc/config.toml with the correct paths.

@netlify
Copy link

netlify bot commented Jan 22, 2026

Deploy Preview for urunc ready!

Name Link
🔨 Latest commit df1a190
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/697b0e6f45184c00088abe96
😎 Deploy Preview https://deploy-preview-387--urunc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@spline2hg spline2hg force-pushed the urunc-deploy-config branch from 4b61cd6 to ce21fa6 Compare January 22, 2026 05:39
@spline2hg
Copy link
Contributor Author

Hi @cmainas , can u please take a look and let me know if any more changes are required. Thanks!

Copy link
Contributor

@cmainas cmainas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @spline2hg ,

thank you for this PR. Overall, it looks good, but there are a few points that we could improve:

  • Could you also update this subsection in the documentation which is related to urunc-deploy?
  • I think there is no reason for the install script to "generate" the config file, since most of the values are static. We can change that in the future, where we allow specific configuration options during deployment to pass to the configuration. However, for the time being (and as first iteration) we can simply use a static file that the script installs like any other artifact.

Copy link
Contributor

@cmainas cmainas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @spline2hg ,

please do not perform changes that are not related to the respective PR/issue.

Also, I do not understand why urunc should be updated to search /opt/urunc; it should only check /usr/share. The monitor artifacts and files are not urunc specific ones. They can be system wide (e.g. installation through a package manager). This adds unnecessary overhead and users are already able to specify any directory through the config.

@spline2hg
Copy link
Contributor Author

Yes @cmainas, sorry about that, I got a bit confused there. I have removed the unrelated changes.

Copy link
Contributor

@cmainas cmainas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @spline2hg ,

I have added two small comments that need to get address. Other than that please make sure to:

so we can merge this PR.

@cmainas
Copy link
Contributor

cmainas commented Jan 28, 2026

Also, make sure to fix your commit message. More information at https://urunc.io/developer-guide/contribute/

@spline2hg spline2hg force-pushed the urunc-deploy-config branch from 011f2f2 to 9ab654e Compare January 28, 2026 16:16
@spline2hg
Copy link
Contributor Author

@cmainas made the changes.

@cmainas
Copy link
Contributor

cmainas commented Jan 29, 2026

Hello @spline2hg ,

please make sure to resolve the commit linter issues

✖   body's lines must not be longer than 80 characters [body-max-line-length]
✖   header must not be longer than 72 characters, current length is 74 [header-max-length]

Also, another rebase will be necessary.

Previously, urunc-deploy installed hypervisor binaries to
/usr/local/bin and QEMU data files to /usr/local/share.

This commit reorganizes the installation to use /opt/urunc as the
base directory for all urunc artifacts. A config.toml file is now
installed to /etc/urunc to instruct urunc about the new binary locations.

Signed-off-by: spline2hg <181270613+spline2hg@users.noreply.github.com>
@spline2hg spline2hg force-pushed the urunc-deploy-config branch from 9ab654e to df1a190 Compare January 29, 2026 07:38
@spline2hg
Copy link
Contributor Author

@cmainas fixed the commit linter issue and rebased.

@urunc-bot urunc-bot bot changed the base branch from main to main-pr387 January 29, 2026 08:05
Copy link
Contributor

@cmainas cmainas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @spline2hg for the changes.

@cmainas cmainas merged commit b5409b2 into urunc-dev:main-pr387 Jan 29, 2026
33 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 29, 2026
Previously, urunc-deploy installed hypervisor binaries to
/usr/local/bin and QEMU data files to /usr/local/share.

This commit reorganizes the installation to use /opt/urunc as the
base directory for all urunc artifacts. A config.toml file is now
installed to /etc/urunc to instruct urunc about the new binary locations.

PR: #387
Signed-off-by: spline2hg <181270613+spline2hg@users.noreply.github.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
urunc-bot bot pushed a commit that referenced this pull request Jan 29, 2026
Previously, urunc-deploy installed hypervisor binaries to
/usr/local/bin and QEMU data files to /usr/local/share.

This commit reorganizes the installation to use /opt/urunc as the
base directory for all urunc artifacts. A config.toml file is now
installed to /etc/urunc to instruct urunc about the new binary locations.

PR: #387
Signed-off-by: spline2hg <181270613+spline2hg@users.noreply.github.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a basic urunc configuration with urunc-deploy

2 participants