Add 'custom-cmds-in-ubuntu/bin_examples/portainercli-config.sh'

This commit is contained in:
sthope 2021-09-05 15:56:20 +02:00
parent 02ffc6792f
commit f121bfa66b

View File

@ -0,0 +1,16 @@
#!/bin/bash
###################################
############ by Sthope ############
###################################
## nano ~/.bashrc
## and add this to the end of the file: export PATH=$PATH:~/bin
## sudo chmod +x ~/bin/*;su -l $USER
#### USAGE
# bash -c "$(wget -qLO - https://git.sthope.dev/sthope/sthope-examples/src/branch/master/custom-cmds-in-ubuntu/bin_examples/proxmox_addnewuser)" Username Password
#
portainer-cli configure http://127.0.0.1:9000/
portainer-cli login $1 $2
portainer-cli -d request status