Merge branch 'main' into squashfs-testing

This commit is contained in:
ading2210 2023-12-26 04:17:40 +00:00 committed by GitHub
commit 4209b63e1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -14,7 +14,7 @@ fi
custom_repo="https://shimboot.ading.dev/debian"
custom_repo_domain="shimboot.ading.dev"
sources_entry="deb [trusted=yes] ${custom_repo} ${release_name} main"
sources_entry="deb [trusted=yes arch=amd64] ${custom_repo} ${release_name} main"
#add shimboot repos
echo -e "${sources_entry}\n$(cat /etc/apt/sources.list)" > /etc/apt/sources.list
@ -56,12 +56,16 @@ ff02::2 ip6-allrouters
END
echo "Enter a root password:"
passwd root
while ! passwd root; do
echo "Failed to set password, please try again."
done
read -p "Enter the username for the user account: " username
useradd -m -s /bin/bash -G sudo $username
echo "Enter the password for ${username}:"
passwd $username
while ! passwd $username; do
echo "Failed to set password, please try again."
done
#clean apt caches
apt-get clean