diff options
-rwxr-xr-x | archauto.sh | 6 | ||||
-rw-r--r-- | tftproot/pxelinux.cfg/01-52-54-00-12-34-56 | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/archauto.sh b/archauto.sh index 40ad7f7..cd87e91 100755 --- a/archauto.sh +++ b/archauto.sh @@ -44,7 +44,7 @@ arch-chroot /mnt grub-install --target=i386-pc --recheck ${INSTALL_DRIVE} cp /mnt/usr/share/locale/en@quot/LC_MESSAGES/grub.mo /mnt/boot/grub/locale/en.mo sed 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="modprobe.blacklist=cirrus"/g' /mnt/etc/default/grub sed 's/GRUB_GFXMODE=auto/GRUB_GFXMODE=text/g' /mnt/etc/default/grub -sed 's/#GRUB_TERMINAL_OUTPUT=console/GRUB_TERMINAL_OUTPUT=console' /mnt/etc/default/grub +sed 's/#GRUB_TERMINAL_OUTPUT=console/GRUB_TERMINAL_OUTPUT=console/g' /mnt/etc/default/grub arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg @@ -58,3 +58,7 @@ echo "archiso" > /mnt/etc/hostname arch-chroot /mnt sh -c "echo 'root:xx' | chpasswd" arch-chroot /mnt systemctl enable dhcpcd@enp0s3.service + +echo "Done." + +systemctl poweroff diff --git a/tftproot/pxelinux.cfg/01-52-54-00-12-34-56 b/tftproot/pxelinux.cfg/01-52-54-00-12-34-56 index 510c906..9401dd8 100644 --- a/tftproot/pxelinux.cfg/01-52-54-00-12-34-56 +++ b/tftproot/pxelinux.cfg/01-52-54-00-12-34-56 @@ -13,5 +13,5 @@ ENDTEXT MENU LABEL Boot Arch Linux (x86_64) (HTTP) LINUX boot/x86_64/vmlinuz INITRD boot/x86_64/archiso.img -APPEND archisobasedir=archiso/arch archiso_http_srv=http://10.0.2.2:8080/ ip=dhcp modprobe.blacklist=cirrus +APPEND archisobasedir=archiso/arch archiso_http_srv=http://10.0.2.2:8080/ ip=dhcp modprobe.blacklist=cirrus script=http://10.0.2.2:8080/archauto.sh IPAPPEND 3 |