Quantcast
Channel: Using scripts to add GPG Keys and Repository Lists - Ask Ubuntu
Browsing all 2 articles
Browse latest View live

Answer by dessert for Using scripts to add GPG Keys and Repository Lists

sudo is a command one normally doesn’t use in scripts (see How do I run a 'sudo' command inside a script?), you rather run the whole script as root. Your script would then be #!/bin/bash wget -qO -...

View Article



Using scripts to add GPG Keys and Repository Lists

I am in need of installing elasticstack on multiple systems currently and would like to invoke this via bash script. Two of the steps to installing elasticsearch is to add the GPG Key and then create...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images