You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
652 B
31 lines
652 B
13 years ago
|
GlobalExplorer
|
||
|
list_explorers()
|
||
|
list_explorers_names()
|
||
|
|
||
|
base_dir
|
||
|
__init__(name)
|
||
|
out_dir
|
||
|
env
|
||
|
name = id
|
||
|
path
|
||
|
return_code
|
||
|
return_value
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
Exec:
|
||
|
|
||
|
normal:
|
||
|
|
||
|
scp /from/where $USER@$HOST:REMOTE_BASE/cdist-internal
|
||
|
ssh $USER@$HOST MY_CMD_THAT_NEEDS_TO_RUN_IN_BIN_SH (including ENV)
|
||
|
|
||
|
sudo:
|
||
|
|
||
|
scp $USER@$HOST:REMOTE_BASE/cdist-internal
|
||
|
ssh $USER@$HOST sudo MY_CMD_THAT_NEEDS_TO_RUN_IN_BIN_SH (including ENV)
|
||
|
|
||
|
chroot:
|
||
|
|
||
|
[sudo] cp file /chroot/THE_HOST_BASE/REMOTE_BASE/cdist-internal
|
||
|
[sudo] chroot /chroot MY_CMD_THAT_NEEDS_TO_RUN_IN_BIN_SH (including ENV)
|