Added new scripts
This commit is contained in:
@@ -20,7 +20,19 @@ echo "root:$1" | chpasswd
|
||||
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
# 4 finalize
|
||||
# configure network
|
||||
echo "[Match]" > /etc/systemd/network/20-wired.network
|
||||
echo "Name=enp1s0" >> /etc/systemd/network/20-wired.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wired.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wired.network
|
||||
echo "DNS=1.1.1.1" >> /etc/systemd/network/20-wired.network
|
||||
# enable networkd
|
||||
systemctl enable systemd-networkd
|
||||
# enable resolved
|
||||
systemctl enable systemd-resolved
|
||||
|
||||
# curl the installation script
|
||||
curl $INSTALL_LOCATION/xabs.sh > /home/xabs.sh
|
||||
# cleanup
|
||||
rm /home/post-chroot.sh
|
||||
sh xabs.sh
|
||||
|
||||
Reference in New Issue
Block a user