Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dzacca committed Dec 9, 2023
1 parent d718afd commit 634b7aa
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions zfs_on_root_zbm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -399,23 +399,24 @@ install_ubuntu() {
chroot "${MOUNTPOINT}" /bin/bash -x <<-EOCHROOT
${APT} dist-upgrade -y
if [[ ${DEBUG} =="true" ]]; then
read -r -p "Press enter to continue"
fi
debug_me
#TODO: Unlock more cases
case ${DISTRO} in
server)
##Server installation has a command line interface only.
##Minimal install: ubuntu-server-minimal
${APT} install -y ubuntu-server
;;
desktop)
##Ubuntu default desktop install has a full GUI environment.
##Minimal install: ubuntu-desktop-minimal
${APT} install -y ubuntu-desktop
;;
case "${DISTRO}" in
server)
##Server installation has a command line interface only.
##Minimal install: ubuntu-server-minimal
${APT} install -y ubuntu-server
;;
desktop)
##Ubuntu default desktop install has a full GUI environment.
##Minimal install: ubuntu-desktop-minimal
${APT} install -y ubuntu-desktop
;;
*)
echo "No distro selected."
;;
esac
# kubuntu)
# ##Ubuntu KDE plasma desktop install has a full GUI environment.
Expand Down

0 comments on commit 634b7aa

Please sign in to comment.