From d9e981bf921e0263a24b716b475c975681943947 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Thu, 3 May 2018 16:06:59 -0400 Subject: houskeeping --- configs/profile/root-image/root/customize_root_image.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configs/profile/root-image/root/customize_root_image.sh') diff --git a/configs/profile/root-image/root/customize_root_image.sh b/configs/profile/root-image/root/customize_root_image.sh index edd0a3f..518436c 100755 --- a/configs/profile/root-image/root/customize_root_image.sh +++ b/configs/profile/root-image/root/customize_root_image.sh @@ -17,6 +17,8 @@ chmod 440 /etc/sudoers.d/g_wheel # configure pacman sed -i "s|#Server|Server|" /etc/pacman.d/mirrorlist +[ "${INSTALL_TYPE}" == 'Complete' ] && pacman_conf=pacman-offline.conf || pacman_conf=pacman-online.conf +cp /etc/${pacman_conf} /etc/pacman.conf # configure services if [[ "${iso_init}" == 'systemd' ]] -- cgit v1.2.2