booting to gnome, with debootstrap.
This commit is contained in:
25
config/filesystem_chroot_install.sh
Normal file
25
config/filesystem_chroot_install.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
echo "deb http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse" > /etc/apt/sources.list
|
||||
echo "deb http://archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse" >> /etc/apt/sources.list
|
||||
echo "deb http://archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse" >> /etc/apt/sources.list
|
||||
echo "deb http://security.ubuntu.com/ubuntu noble-security main restricted universe multiverse" >> /etc/apt/sources.list
|
||||
apt update
|
||||
apt install -y gnome-core
|
||||
systemd-nspawn --boot
|
||||
#systemctl enable opensnitch
|
||||
apt install -y ufw
|
||||
ufw enable
|
||||
apt install -y curl flatpak
|
||||
#git opensnitch qemu-system python3-bpfcc python3-pip bpfcc-tools ipset doas lm-sensors flatpak net-tools iputils-ping
|
||||
#pip install --break-system-packages dnslib psutil
|
||||
flatpak remote-add flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
#run echo "permit persist :sudo as root" >> /etc/doas.conf
|
||||
useradd -m -s /bin/bash ubuntu
|
||||
usermod -a -G sudo ubuntu
|
||||
yes defaultpass | passwd ubuntu
|
||||
flatpak install --system --noninteractive flathub org.keepassxc.KeePassXC
|
||||
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
|
||||
curl -fsSLo /etc/apt/sources.list.d/brave-browser-release.sources https://brave-browser-apt-release.s3.brave.com/brave-browser.sources
|
||||
apt remove -y snapd
|
||||
apt update
|
||||
apt install -y brave-browser
|
||||
Reference in New Issue
Block a user