Vagrant and test updates for restconf /www-data mods

This commit is contained in:
Olof hagsand 2021-05-23 19:55:01 +02:00
parent 637c68aed6
commit 603f70e51f
5 changed files with 28 additions and 12 deletions

View file

@ -29,3 +29,11 @@ The current vagrant boxes are verified continuously:
For other vagrant boxes, see [search vagrant boxes](https://vagrantcloud.com/search)
Inaccessible
------------
Sometimes Vagrant says: ”Your VM has become inaccessible”
```
VBoxManage list vms
VBoxManage unregistervm xxx
```

View file

@ -26,6 +26,13 @@ if [ ! $(id -u clicon) ]; then
fi
fi
# Fcgi restconf requires /www-data directory for fcgi socket
if [ ${with_restconf} = fcgi ]; then
sudo mkdir /www-data
sudo chown $wwwuser /www-data
sudo chgrp $wwwuser /www-data
fi
# cligen
test -d src || mkdir src
test -d src/cligen || (cd src;git clone https://github.com/clicon/cligen.git)