Skip to content
Snippets Groups Projects
Commit eb5371e6 authored by Pietsch, Martin's avatar Pietsch, Martin
Browse files

remove files/profile

parent 95a85093
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
. /opt/functions.sh
chmod 755 /
netwaitcnt=0
beginLogEntry "waiting for network"
while [ ! -s /etc/resolv.conf ];
do
[ "${netwaitcnt}" -ge 100 ] && finishLogEntry "failed" && exit 1
netwaitcnt=$((${netwaitcnt} + 1))
echo -n "."
sleep 1
done
finishLogEntry "done"
beginLogEntry "install default dependencies"
installTcPackages bash parted bc ntfs-3g dosfstools openssl
architecture=$(uname -m)
case ${architecture} in
x86_64) installTcPackages btrfs-progs ;;
i[0-9]86) installTcPackages reiserfsprogs;;
esac
finishLogEntry "done"
beginLogEntry "get Answerfile from \"${ANSWERFILE_PATH}\""
getAnswerfile ${ANSWERFILE_PATH} /tmp/answerfile
if [ $? -eq 0 ];
then
finishLogEntry "done"
/opt/installer.sh
reboot
else
finishLogEntry "failed"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment