diff --git a/entry.sh b/entry.sh index 95f4b5a..3815371 100755 --- a/entry.sh +++ b/entry.sh @@ -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 mkdir /snap 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 - ) | 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(){ sleep 0.5