Time zone wasn't being set.
echo "STRETCH_NONFREE"
;;
esac
- elif isdebian-testing; then
- echo "TESTING_NONFREE"
fi
fi
-echo "STANDARD"
+echo FAIBASE STANDARD
#echo "PARTITION_PROMPT"
#echo REPARTITION
# set parameter for install_packges(8)
MAXPACKAGES=800
-
-# a user account will be created
-username=demo
-USERPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
Explanation: tar, cuz https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819978
-Explanation: kernel & btrfs-tools, because btrfs is getting a lot of active
+Explanation: kernel & btrfs-progs, because btrfs is getting a lot of active
Explanation: dev, and their mailing list says better to use recent version
Explanation: to avoid bugs. linux-base is needed for the kernel,
Explanation: which you can find out by failing
Explanation: apt-get -t stretch-backports install linux-image-amd64
Explanation:
Explanation:
-Package: tar linux-image-amd64 linux-base btrfs-tools
+Package: tar linux-image-amd64 linux-base btrfs-progs
Pin: release a=stretch-backports
Pin-Priority: 500
Package: *
Pin: release a=unstable-updates
Pin-Priority: -20
+
+Package: *
+Pin: release a=experimental
+Pin-Priority: -40
deb http://http.debian.net/debian buster-backports main
deb-src http://http.debian.net/debian buster-backports main
+
+deb http://http.us.debian.org/debian unstable main contrib non-free
+deb-src http://http.us.debian.org/debian unstable main contrib non-free
deb http://mirrors.linode.com/debian/ buster-backports main
deb-src http://mirrors.linode.com/debian/ buster-backports main
+
+deb http://http.us.debian.org/debian unstable main contrib non-free
+deb-src http://http.us.debian.org/debian unstable main contrib non-free
deb http://http.debian.net/debian buster-backports main contrib non-free
deb-src http://http.debian.net/debian buster-backports main contrib non-free
+
+deb http://http.us.debian.org/debian unstable main contrib non-free
+deb-src http://http.us.debian.org/debian unstable main contrib non-free
+
+deb http://http.us.debian.org/debian experimental main
+deb-src http://http.us.debian.org/debian experimental main
DISTRO=debianstretch_bootstrap
elif ifclass VOL_STRETCH; then
DISTRO=debianstretch
+ elif ifclass VOL_BUSTER; then
+ DISTRO=debianbuster
elif ifclass VOL_TESTING; then
DISTRO=debiantesting
elif ifclass VOL_XENIAL; then
pciutils usbutils
unattended-upgrades
-PACKAGES install STRETCH
+PACKAGES install STRETCH BUSTER
apt-transport-https
+# otherwise sshd takes like 10 seconds to start
+PACKAGES install BUSTER
+haveged
+
PACKAGES install NONFREE
# you may want these non-free kernel drivers
firmware-bnx2 firmware-bnx2x firmware-realtek
# take effect. This is explained when you do dpkg-reconfigure resolvconf,
# and may be fixed in future releases
PACKAGES install GRUB_PC
-grub-pc cryptsetup btrfs-tools mbuffer sudo bridge-utils netcat-openbsd resolvconf lsof
+grub-pc cryptsetup btrfs-progs mbuffer sudo bridge-utils netcat-openbsd resolvconf lsof
PACKAGES install GRUB_EFI
-grub-efi cryptsetup btrfs-tools mbuffer sudo bridge-utils netcat-openbsd resolvconf lsof
+grub-efi cryptsetup btrfs-progs mbuffer sudo bridge-utils netcat-openbsd resolvconf lsof
PACKAGES install LVM
# duplicated in DEBIAN
PACKAGES install GRUB_PC
-grub-pc cryptsetup btrfs-tools mbuffer sudo bridge-utils netcat-openbsd resolvconf lsof
+grub-pc cryptsetup btrfs-progs mbuffer sudo bridge-utils netcat-openbsd resolvconf lsof
PACKAGES install FLIDAS64 XENIAL64
$ROOTCMD usermod -p "$ROOTPW" root
else
$ROOTCMD usermod -L root
- # enable sudo for user
- ainsl /etc/sudoers "$username ALL = ALL"
fi
exit $error
# -r = recursive
# -i = ignore non-matching class warnings, always exit 0
# -B = no backup files
-fcopy -riB /boot
+fcopy -riBM /boot
# this is also done by FABASE/10-misc by default.
-fcopy -riB /root
+fcopy -riBM /root
src=$FAI/distro-install-common/shadow
$FAI/distro-install-common/end
if ifclass VOL_STRETCH_BOOTSTRAP; then
- fcopy -ri /etc/systemd/system
+ fcopy -riM /etc/systemd/system
chroot $FAI_ROOT bash <<'EOFOUTER'
systemctl enable fai_check.service
EOFOUTER
# these get copied in an earlier stage by fai, but leaving it here since
# I run this as a single post-fai script to update things that have changed.
-fcopy -riB /etc/apt
+fcopy -riBM /etc/apt
# outside of fai, this seems to regularly lead to
# E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
# so add a sleep. 1 sec is probably way more than needed.
Args I've used before:
+-z BUSTER64
-z STRETCH64
-z XENIAL64
+-z ETIONA64
-z FLIDAS64
-z BELENOS64