This commit is contained in:
j3d1 2020-01-31 16:32:59 +01:00
parent aec2fab040
commit 694e34e009

View file

@ -111,12 +111,21 @@ function second_stage(){
apt install -y linux-image-amd64 grub2 cryptsetup btrfs-progs lvm2 locales tzdata keyboard-configuration console-common zsh apt install -y linux-image-amd64 grub2 cryptsetup btrfs-progs lvm2 locales tzdata keyboard-configuration console-common zsh
mkdir /snap mkdir /snap
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_basesystem) btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_basesystem)
apt install -y task-mate-desktop mate-desktop-environment-extra git apt install -y task-mate-desktop mate-desktop-environment-extra
( (
echo $USER_PASSWORD echo $USER_PASSWORD
echo $USER_PASSWORD echo $USER_PASSWORD
) | adduser --gecos --shell $(which zsh) jedi ) | adduser --gecos jedi
} (
HOME=/home/jedi
git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
chmod 0755 $HOME/.oh-my-zsh
chown -R jedi:jedi $HOME
)
chsh --shell /bin/zsh jedi
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui)
apt install -y git virt-manager
function post_install_stage(){ function post_install_stage(){
sleep 0.5 sleep 0.5