Skip to content

Use a custom config path target when running unattended-setup #1303

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

Open
krishardy opened this issue Apr 1, 2025 · 1 comment
Open

Use a custom config path target when running unattended-setup #1303

krishardy opened this issue Apr 1, 2025 · 1 comment

Comments

@krishardy
Copy link

The issue:

When setting up warpgate to run as a non-root user, warpgate unattended-setup fails with insufficient permissions because it needs to create /etc/warpgate.yaml and the data path. To work around this, you must currently run it as root and then change permissions of the data path and ensure that /etc/warpgate.yaml can be read by the user that warpgate will run as.

The expected behaviour:

warpgate unattended-setup should support a custom config path (such as warpgate unattended-setup --config <custom_path> ...). This will save the configuration yaml file to the provided custom path.

I am intending to implement this change, and an opening this issue in order to start any necessary communications.

@Christian-Little-Tava
Copy link

You can use warpgate --config unattended-setup

And that seems to make it happy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants