Browse Source

add example

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

Loading…
Cancel
Save