#!/bin/bash
. /etc/profile
while [ 1 ] ; do
[ -e /dev/shm/.4kube.bootstrap.stop ] && exit 0
(
    trap "echo -en '\nGood bye! See U soon!\n' ; screen -X detach" EXIT
    export TMOUT=0
    export HOME=/root
    lxc-attach -n 4kube-bootstrap bash
)
sleep 1
echo -en "\n\n`date` New shell : \n\n"
done
