mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-10 17:40:16 +00:00
try installation process with main
Signed-off-by: pvogt09 <50047961+pvogt09@users.noreply.github.com>
This commit is contained in:
parent
e7f7780ddd
commit
ff77aa8da3
1 changed files with 10 additions and 5 deletions
|
@ -137,16 +137,21 @@ def test_installPihole_fresh_install_readableBlockpage(Pihole):
|
||||||
confirms all web page assets from Core repo are readable by $LIGHTTPD_USER on a fresh build
|
confirms all web page assets from Core repo are readable by $LIGHTTPD_USER on a fresh build
|
||||||
'''
|
'''
|
||||||
installWeb = Pihole.run('''
|
installWeb = Pihole.run('''
|
||||||
|
export TERM=xterm
|
||||||
umask 0027
|
umask 0027
|
||||||
source /opt/pihole/basic-install.sh
|
source /opt/pihole/basic-install.sh
|
||||||
distro_check > /dev/null
|
main
|
||||||
clone_or_update_repos
|
|
||||||
install_dependent_packages ${PIHOLE_WEB_DEPS[@]}
|
|
||||||
create_pihole_user
|
|
||||||
installPihole
|
|
||||||
echo "LIGHTTPD_USER=${LIGHTTPD_USER}"
|
echo "LIGHTTPD_USER=${LIGHTTPD_USER}"
|
||||||
echo "webroot=${webroot}"
|
echo "webroot=${webroot}"
|
||||||
''')
|
''')
|
||||||
|
# distro_check > /dev/null
|
||||||
|
# clone_or_update_repos
|
||||||
|
# install_dependent_packages ${PIHOLE_WEB_DEPS[@]}
|
||||||
|
# create_pihole_user
|
||||||
|
# installPihole
|
||||||
|
# echo "LIGHTTPD_USER=${LIGHTTPD_USER}"
|
||||||
|
# echo "webroot=${webroot}"
|
||||||
|
# ''')
|
||||||
assert 0 == installWeb.rc
|
assert 0 == installWeb.rc
|
||||||
webuser = ''
|
webuser = ''
|
||||||
user = re.findall("^\s*LIGHTTPD_USER=.*$", installWeb.stdout, re.MULTILINE)
|
user = re.findall("^\s*LIGHTTPD_USER=.*$", installWeb.stdout, re.MULTILINE)
|
||||||
|
|
Loading…
Add table
Reference in a new issue