Schwitzd

Results 10 comments of Schwitzd

Any news about this issue?

Normally I work with functions and I would like that specific function are executed as administrator. Best is to place the `#Requires` inside the function or outside?

@pauby thx for the link you share If I'm not wrong if I put the `#Requires` inside the function and I run it as user I get an error

Ok! This is really good to know. Normally I have one function for each file What you think about to write this on the style guide?

@pauby I would like to summarise all this discussion in a chapter to add some where on the guideline.

I have the same needs.. I created a [bash script](https://github.com/Schwitzd/IaC-HomeRouter/blob/main/helper/download_routeros_packages.sh) to download the extra packages on my local computer then with this code I upload the package on the router:...

Interesting I will try! thx for sharing :)

No is not a full script to install packages.. This is my script https://github.com/Schwitzd/IaC-HomeRouter/blob/main/helper%2Fdownload_routeros_packages.sh Takes care to download the extra-packages unzip the needed package. Then with the code on the...

But behind the hood routeros_file is not uploading a file using the API? Because I'm able to use it to upload the .npk but only the file name and not...

ok! I have improved the code to install a package and handle the reboot time @vaerh your stackoverflow link was the key. Here the code, in this specific context I'm...