2018-10-15 03:40:11 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# lxcinit.sh
|
|
|
|
# called from newuser.sh to set up an lxc container with the proper files
|
|
|
|
|
2018-08-28 17:39:44 +00:00
|
|
|
echo " Launching container for user $(whoami)"
|
|
|
|
. /etc/profile.d/apps-bin-path.sh \
|
2018-09-16 17:30:12 +00:00
|
|
|
&& 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
|