SLBR/lxcinit.sh

8 lines
326 B
Bash
Raw Normal View History

2018-08-28 17:39:44 +00:00
#!/bin/bash
#WARRNING: THIS SHOULD ONLY BE INVOKED FROM newuser.sh
echo " Launching container for user $(whoami)"
. /etc/profile.d/apps-bin-path.sh \
&& lxc launch ubuntu: "$(whoami)"
lxc file push /home/slbr/tmuxinit.sh "$(whoami)"/usr/bin/tmuxinit.sh
lxc file push /home/slbr/suicidebash.bashrc "$(whoami)"/etc/bash.bashrc