Browse Source

add example

master
zeus 4 years ago
parent
commit
1e3a0efcae
  1. 7
      install/usr/share/swarmlab.io/sec/swarmlab-sec

7
install/usr/share/swarmlab.io/sec/swarmlab-sec

@ -608,8 +608,8 @@ show_instruction ()
echo "To run SEC programs in an interative shell:" echo "To run SEC programs in an interative shell:"
echo " 1. Login to master node:" echo " 1. Login to master node:"
echo " Using Docker through command wrapper:" echo " Using Container->connect Menou:"
echo " $ swarmlab-sec login" echo " copy/paste and Run command"
echo "" echo ""
echo " Or using SSH with keys through exposed port:" echo " Or using SSH with keys through exposed port:"
echo " $ ssh -o \"StrictHostKeyChecking no\" -i ssh/id_rsa -p $SSH_PORT docker@localhost" echo " $ ssh -o \"StrictHostKeyChecking no\" -i ssh/id_rsa -p $SSH_PORT docker@localhost"
@ -620,8 +620,7 @@ show_instruction ()
echo " # apk update" echo " # apk update"
echo " *----------------------------------------------------*" echo " *----------------------------------------------------*"
echo " | Default hostfile of connected nodes in the swarmlab |" echo " | Default hostfile of connected nodes in the swarmlab |"
echo " | is automatically updated at /etc/opt/hosts |" echo " | To obtain hostfile manually: $ ./bin/swarmlab-nmap: > hosts |"
echo " | To obtain hostfile manually: $ get_hosts > hosts |"
echo " * ---------------------------------------------------*" echo " * ---------------------------------------------------*"
echo "" echo ""
echo "" echo ""

Loading…
Cancel
Save