clixon/test/vagrant
2023-12-03 12:08:00 +01:00
..
clixon.sh Test: vagrant clixon-util upgrade, sudo -g not work 18.04 2023-12-03 12:08:00 +01:00
Makefile.in Freebsd socketpair include problems and lack of TAB in vagrant Makefile 2022-12-27 11:58:13 +01:00
mem.sh [Code formatting: Change indentation style to space](https://github.com/clicon/clixon/issues/379) 2022-10-27 14:21:17 +02:00
nginx.sh [Code formatting: Change indentation style to space](https://github.com/clicon/clixon/issues/379) 2022-10-27 14:21:17 +02:00
README.md init variables, vagrant with-cligen 2023-07-28 12:49:51 +02:00
vagrant.sh Test: optimization of vagrant git yangmodels handling 2023-10-21 10:15:31 +02:00

Vagrant scripts

Scripts for booting local vagrant hosts, installing clixon and running clixon tests

The script then uses a Makefile and logs in to each host, pulls from git, configure, makes and runs through the tests. Make is used to get concurrency - eg with make -j 10

The Makefile contains a configurable VAGRANTS variable, which is defined in a site.mk file. You can add such a file, eg:

  VAGRANTS += freebsd/FreeBSD-12.1-STABLE
  VAGRANTS += generic/centos8

Beware memory exhaustion if you run too many simultaneously.

Logs appear in : <dir>/<hostname>.log.

You can also run a single vagrant test as follows:

  vagrant.sh freebsd/FreeBSD-12.1-STABLE

The current vagrant boxes are verified continuously:

  • generic/freebsd13
  • generic/lunar64 # 23.04
  • generic/ubuntu2204
  • generic/bionic64 # 18.04

For other vagrant boxes, see search vagrant boxes

Inaccessible

Sometimes Vagrant says: ”Your VM has become inaccessible”

VBoxManage list vms
VBoxManage unregistervm xxx