diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/first_stage.sh | 2 | ||||
-rw-r--r-- | bin/second_stage.sh | 5 | ||||
-rw-r--r-- | bin/setup_dhcp.sh | 27 |
3 files changed, 33 insertions, 1 deletions
diff --git a/bin/first_stage.sh b/bin/first_stage.sh index 629c750..472a814 100644 --- a/bin/first_stage.sh +++ b/bin/first_stage.sh @@ -115,7 +115,7 @@ echo "" echo "Going to install basic packages ..." sleep $DELAY echo "" -pacstrap /mnt base linux linux-firmware dhcpcd +pacstrap /mnt base linux linux-firmware echo "" echo "Installed basic packages - OK" sleep $DELAY diff --git a/bin/second_stage.sh b/bin/second_stage.sh index 01739ba..5c2f8d8 100644 --- a/bin/second_stage.sh +++ b/bin/second_stage.sh @@ -67,6 +67,11 @@ if [ "$desktop" = "yes" ]; then fi +# DHCP Setup + +bash $REPOSITORY_PATH/bin/setup_dhcp.sh + + # Good bye chroot echo "Leaving chroot environment - OK" diff --git a/bin/setup_dhcp.sh b/bin/setup_dhcp.sh new file mode 100644 index 0000000..dbd3e18 --- /dev/null +++ b/bin/setup_dhcp.sh @@ -0,0 +1,27 @@ +#!/bin/bash + + +# archinstall - A minimal Installation Script for Arch Linux +# Copyright (C) 2019 xengineering + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + + +################### +# setup_dhcp.sh # +################### + + +pacman --no-confirm -Syu dhcpcd +systemctl enable dhcpcd |