Merge branch 'main' into squashfs-testing
This commit is contained in:
commit
4209b63e1f
|
@ -14,7 +14,7 @@ fi
|
||||||
|
|
||||||
custom_repo="https://shimboot.ading.dev/debian"
|
custom_repo="https://shimboot.ading.dev/debian"
|
||||||
custom_repo_domain="shimboot.ading.dev"
|
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
|
#add shimboot repos
|
||||||
echo -e "${sources_entry}\n$(cat /etc/apt/sources.list)" > /etc/apt/sources.list
|
echo -e "${sources_entry}\n$(cat /etc/apt/sources.list)" > /etc/apt/sources.list
|
||||||
|
@ -56,12 +56,16 @@ ff02::2 ip6-allrouters
|
||||||
END
|
END
|
||||||
|
|
||||||
echo "Enter a root password:"
|
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
|
read -p "Enter the username for the user account: " username
|
||||||
useradd -m -s /bin/bash -G sudo $username
|
useradd -m -s /bin/bash -G sudo $username
|
||||||
echo "Enter the password for ${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
|
#clean apt caches
|
||||||
apt-get clean
|
apt-get clean
|
Loading…
Reference in New Issue