From 769783817149f2404c6a24206d3c4bd68289cd9f Mon Sep 17 00:00:00 2001 From: Kyle K Date: Sat, 25 Apr 2020 22:46:00 -0500 Subject: add ability to change username, set hostname and domain name after install --- GentooX Breeze Dark Transparent.tar.gz | Bin 363009 -> 363400 bytes ToDo.txt | 1 + gentoox_build.sh | 4 ++-- install.sh | 22 +++++++++++++++++++++- 4 files changed, 24 insertions(+), 3 deletions(-) diff --git a/GentooX Breeze Dark Transparent.tar.gz b/GentooX Breeze Dark Transparent.tar.gz index dac3436..5069ee3 100644 Binary files a/GentooX Breeze Dark Transparent.tar.gz and b/GentooX Breeze Dark Transparent.tar.gz differ diff --git a/ToDo.txt b/ToDo.txt index 8abc44c..b30a210 100644 --- a/ToDo.txt +++ b/ToDo.txt @@ -19,6 +19,7 @@ for (i=0;i /etc/conf.d/net +echo 'dns_domain_lo="haxx.dafuq" +nis_domain_lo="haxx.dafuq"' > /etc/conf.d/net echo 'nameserver 1.1.1.1 nameserver 2606:4700:4700::1111' > /etc/resolv.conf diff --git a/install.sh b/install.sh index 864a1d5..4f8d738 100755 --- a/install.sh +++ b/install.sh @@ -137,6 +137,13 @@ fi echo "extracting precompiled image.squashfs GentooX image to the target partition..." unsquashfs -f -d /mnt/install/ /mnt/cdrom/image.squashfs /usr/local/sbin/genfstab -U /mnt/install/ >> /mnt/install/etc/fstab +echo -e "extraction complete.\n" + +read -erp "set hostname: " -i "gentoox" hostname +read -erp "set domain name " -i "haxx.dafuq" domainname +read -erp "set username: " -i "gentoox" username +read -erp "set user password: " -i "gentoox" userpassword +read -erp "set root password: " -i "gentoox" rootpassword mount -t proc none /mnt/install/proc mount --rbind /dev /mnt/install/dev @@ -147,13 +154,26 @@ cat </dev/null 2>&1 echo "Installation complete, you may remove the install media and reboot" -- cgit v1.2.3