Actualiser scripts/sandbox-install
This commit is contained in:
parent
e141f51781
commit
12da17b88d
@ -14,11 +14,11 @@ PACKAGES=(
|
||||
"breezy" "python" "wireshark-qt" "wireshark-cli" "evince" "dbus" "mlocate" "gvfs"
|
||||
"strace" "net-tools" "postfix" "sudo" "gtksourceview3" "mplayer" "cronie" "optipng"
|
||||
"lib32-glibc" "libvirt" "qt5" "xterm" "graphviz" "vlc" "pulseaudio" "pulseaudio-alsa"
|
||||
"tmux" "sleuthkit" "tk" "tcl" "xterm" "junit" "lightdm" "samba" "bind" "krb5" "tree"
|
||||
"tmux" "sleuthkit" "tk" "tcl" "junit" "lightdm" "samba" "bind" "krb5" "tree"
|
||||
"time" "noto-fonts" "noto-fonts-cjk" "noto-fonts-emoji" "noto-fonts-extra" "numlockx"
|
||||
"lightdm-gtk-greeter" "tigervnc" "xfce4-pulseaudio-plugin" "docker" "docker-compose"
|
||||
"android-tools" "opam" "jdk17-openjdk" "vde2" "shellcheck" "man-db" "man-pages"
|
||||
"man-pages-fr" "duf" "eza" "bat" "clang" "socat"
|
||||
"man-pages-fr" "duf" "eza" "bat" "clang" "socat" "iputils" "termshark"
|
||||
)
|
||||
|
||||
PACKAGES_AUR=(
|
||||
@ -32,21 +32,12 @@ PACKAGES_AUR=(
|
||||
|
||||
SERVICES=(
|
||||
"systemd-networkd.service" "systemd-resolved.service" "systemd-timesyncd.service"
|
||||
"fstrim.service" "docker.service" "ovs-vswitchd.service"
|
||||
"docker.service" "ovs-vswitchd.service"
|
||||
)
|
||||
|
||||
# Enable time synchronization
|
||||
timedatectl set-ntp true
|
||||
|
||||
# Wait for the clock to be synchronized
|
||||
while :; do
|
||||
timedatectl status | grep "synchronized: yes" && break
|
||||
sleep 1
|
||||
done
|
||||
|
||||
# Wait a few seconds for everything to be ready
|
||||
sleep 20
|
||||
|
||||
# Enable parallel downloads in pacman
|
||||
sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 16/" /etc/pacman.conf
|
||||
|
||||
@ -54,15 +45,16 @@ sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 16/" /etc/pacman.conf
|
||||
pacman -Sy --noconfirm archlinux-keyring
|
||||
|
||||
# Install the base system
|
||||
pacstrap -K /mnt "${PACKAGES[@]}"
|
||||
#pacstrap -K /mnt "${PACKAGES[@]}"
|
||||
pacman -S "${PACKAGES[@]}"
|
||||
|
||||
# Generate the fstab file
|
||||
genfstab -U /mnt >>/mnt/etc/fstab
|
||||
#genfstab -U /mnt >>/mnt/etc/fstab
|
||||
|
||||
# Chroot into the new system
|
||||
arch-chroot /mnt /bin/bash <<EOF
|
||||
#arch-chroot /mnt /bin/bash <<EOF
|
||||
# Disable history in the shell
|
||||
set +o history
|
||||
#set +o history
|
||||
|
||||
# Set the timezone
|
||||
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
|
||||
@ -85,7 +77,7 @@ echo "KEYMAP=fr-latin1" > /etc/vconsole.conf
|
||||
echo "salle222-" > /etc/hostname
|
||||
|
||||
# Install syslinux
|
||||
syslinux-install_update -iam
|
||||
#syslinux-install_update -iam
|
||||
|
||||
# Disable multicast DNS and LLMNR
|
||||
sed -i 's/#LLMNR=no/LLMNR=no/g' /etc/systemd/resolved.conf
|
||||
|
Loading…
Reference in New Issue
Block a user