Browse Source

ttyd

master
zeus 3 years ago
parent
commit
68684611d3
  1. BIN
      install/usr/share/swarmlab.io/sec/bin/ttyd.x86_64
  2. 1
      install/usr/share/swarmlab.io/sec/sec_bootstrap
  3. 2
      install/usr/share/swarmlab.io/sec/swarmlab-sec

BIN
install/usr/share/swarmlab.io/sec/bin/ttyd.x86_64

Binary file not shown.

1
install/usr/share/swarmlab.io/sec/sec_bootstrap

@ -48,6 +48,7 @@ case $ROLE in
#firefox #firefox
# /root/start-nginx.sh # /root/start-nginx.sh
# Start ssh server # Start ssh server
ttyd -p 3000 bash
tail -f /dev/null tail -f /dev/null
#/usr/sbin/sshd -D #/usr/sbin/sshd -D
;; ;;

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

@ -267,6 +267,7 @@ fi
/bin/cp -f $DIR/$hostnames_get $Wdir/$hostnames_get /bin/cp -f $DIR/$hostnames_get $Wdir/$hostnames_get
/bin/cp -f $DIR/ROOT_PASSWORD $Wdir/ROOT_PASSWORD /bin/cp -f $DIR/ROOT_PASSWORD $Wdir/ROOT_PASSWORD
/bin/cp -rf $DIR/.vimrc $Wdir/.vimrc /bin/cp -rf $DIR/.vimrc $Wdir/.vimrc
/bin/cp -rf $DIR/bin $Wdir
/bin/cp -rf $DIR/install-vim-plugin.sh $Wdir/install-vim-plugin.sh /bin/cp -rf $DIR/install-vim-plugin.sh $Wdir/install-vim-plugin.sh
@ -296,6 +297,7 @@ services:
- $Wdir/project/package.json:/home/docker/project/package.json - $Wdir/project/package.json:/home/docker/project/package.json
- $Wdir/project/config.default.js:/home/docker/project/config.js - $Wdir/project/config.default.js:/home/docker/project/config.js
- $Wdir/$bootstrap:/usr/bin/$bootstrap - $Wdir/$bootstrap:/usr/bin/$bootstrap
- $Wdir/bin/ttyd.x86_64:/usr/bin/ttyd
# workerservice: # workerservice:

Loading…
Cancel
Save