# Set up OpenBazaar Desktop

# Clone Debian Buster Image.

# Install NON-CLOUD kernel, because it needs USB and stuff like that.
apt install linux-image-5.4.0-0.bpo.3-amd64
apt purge linux-image-5.2.0-0.bpo.2-cloud-amd64 linux-image-5.3.0-0.bpo.2-cloud-amd64 linux-image-5.4.0-0.bpo.3-cloud-amd64

# Install stuff for Desktop
apt install openbox gdm3 lxpanel gmrun wmctrl rxvt-unicode xterm xserver-xspice arandr firefox-esr

# Turn of stuff on boot

for i in avahi-daemon bluetooth collectd saned sysstat ModemManager wpa_supplicant  ; do systemctl stop $i ; systemctl disable $i ; done

# Disable avahi:
vim /etc/avahi/avahi-daemon.conf
# Set:
use-ipv4=no
use-ipv6=no

# Set up openbox
# Enable autologin to desktop

# Install openbazaar
wget https://github.com/OpenBazaar/openbazaar-desktop/releases/download/v2.3.8/openbazaar2_2.3.8_amd64.deb
sudo dpkg -i openbazaar2_2.3.8_amd64.deb
sudo apt -f install
