mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 21:04:25 +02:00
Vagrant/finalize: Do not remount /vagrant/var/log
If you do multiple provisioning calls mount point /vagrant/var/log is mounted multiple times.
This commit is contained in:
parent
e3cd50ef16
commit
89ae3713cd
@ -17,8 +17,13 @@ startServicesWithNonLSBCompliantExitStatusCodes () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mountIcinga2webVarLog () {
|
mountIcinga2webVarLog () {
|
||||||
# Remount /vagrant/var/log/ with appropriate permissions since the group apache is missing initially
|
if ! $(/bin/mount | /bin/grep -q "/vagrant/var/log"); then
|
||||||
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g apache`,dmode=775,fmode=664 /vagrant/var/log/ /vagrant/var/log/
|
# Remount /vagrant/var/log/ with appropriate permissions since the group apache is missing initially
|
||||||
|
/bin/mount -t vboxsf -o \
|
||||||
|
uid=`id -u vagrant`,gid=`id -g apache`,dmode=775,fmode=664 \
|
||||||
|
/vagrant/var/log/ \
|
||||||
|
/vagrant/var/log/
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
installJquery
|
installJquery
|
||||||
|
Loading…
x
Reference in New Issue
Block a user