diff --git a/scripts/sandbox-install b/scripts/sandbox-install index 0025ea1..fee8339 100644 --- a/scripts/sandbox-install +++ b/scripts/sandbox-install @@ -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 < /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