switch to task-xfce-desktop, more fixes
This commit is contained in:
parent
5132387ff7
commit
de4384571a
|
@ -42,7 +42,7 @@ rootfs_dir=$(realpath "${1}")
|
|||
release_name="${2}"
|
||||
|
||||
debootstrap $release_name $rootfs_dir http://deb.debian.org/debian/
|
||||
cp -r rootfs/* $rootfs_dir
|
||||
cp -ar rootfs/* $rootfs_dir
|
||||
|
||||
chroot_mounts="proc sys dev run"
|
||||
for mountpoint in $chroot_mounts; do
|
||||
|
@ -54,7 +54,7 @@ chroot $rootfs_dir /bin/bash -c "${chroot_command}"
|
|||
|
||||
chroot_mounts="proc sys dev run"
|
||||
for mountpoint in $chroot_mounts; do
|
||||
umount "${rootfs_dir}/$mountpoint"
|
||||
umount -l "${rootfs_dir}/$mountpoint"
|
||||
done
|
||||
|
||||
echo "rootfs has been created"
|
|
@ -26,7 +26,7 @@ apt-get update
|
|||
apt-get upgrade -y
|
||||
|
||||
#install desktop
|
||||
apt-get install -y xfce4 xfce4-goodies network-manager blueman firefox-esr sudo
|
||||
apt-get install -y task-xfce-desktop cloud-utils
|
||||
|
||||
#set up hostname and username
|
||||
read -p "Enter the hostname for the system: " hostname
|
||||
|
|
Loading…
Reference in New Issue