Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow running scripts locally (without unnecessary external content) #11

Closed
tcarreira started this conversation in Ideas
Discussion options

It would be straight forward to git clone this repo and the run intended script directly.

Unfortunately, most script are currently sourcing content from the internet, like

source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)

I think it would be nice if I could just run/modify my local files and trust it is using the local files for everything.

( I can contribute, but I would like to know if the community feels the same first)

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

You can do this by cloning it to a local repository.
The external files have the basic functions that are used by most/all scripts.
This way, it's easier to make new scripts or update basic functions just once.

Edit:
This also makes it easier to check the scripts for malicious code.
When build.func (or one of the two other reused scripts) gets an update, that the time to be on high alert.

You must be logged in to vote
1 reply
Comment options

malicious code.
the time to be on high alert.

Were there already such cases?

Comment options

Thanks for the input/feedback. I will close the discussion then

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
not a script issue This is not a script issue

AltStyle によって変換されたページ (->オリジナル) /