This commit is contained in:
j3d1 2020-01-31 19:05:11 +01:00
parent 2fbf64d272
commit f9cf5afd80

View file

@ -115,13 +115,17 @@ function second_stage(){
( (
echo $USER_PASSWORD echo $USER_PASSWORD
echo $USER_PASSWORD echo $USER_PASSWORD
) | adduser --gecos jedi echo
( echo
echo
echo
echo
) | adduser jedi
HOME=/home/jedi HOME=/home/jedi
git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
chmod 0755 $HOME/.oh-my-zsh chmod 0755 $HOME/.oh-my-zsh
chown -R jedi:jedi $HOME chown -R jedi:jedi $HOME
)
chsh --shell /bin/zsh jedi chsh --shell /bin/zsh jedi
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui) btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui)
apt install -y git virt-manager apt install -y git virt-manager