Add 'custom-cmds-in-ubuntu/bin_examples/portainercli-config.sh'
This commit is contained in:
parent
02ffc6792f
commit
f121bfa66b
16
custom-cmds-in-ubuntu/bin_examples/portainercli-config.sh
Normal file
16
custom-cmds-in-ubuntu/bin_examples/portainercli-config.sh
Normal 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
|
Loading…
x
Reference in New Issue
Block a user