From 694e34e0094c6372028e2208dde09c2456bad97b Mon Sep 17 00:00:00 2001 From: jedi Date: Fri, 31 Jan 2020 16:32:59 +0100 Subject: [PATCH] wip --- entry.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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