2f68c02e1a
When running `vagrant ssh-config` from ansible, Vagrant for some reason still wants to execute the File.write() operation, but fails to do so because the $PWD is $topsrcdir/vagrant, in which .vagrant does not exist. Switch to using the absolute path. Closes: #555 Approved by: cgwalters |
||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
setup.yml |
Developing using Docker + Vagrant
The current tooling here is oriented towards doing builds inside a CentOS 7 pet container, with Vagrant on the host.
You should share the git working directory with the c7 container.
Assuming you have git repositories stored in /srv
, something like:
docker run --name c7dev --privileged -v /srv:/srv --net=host -ti centos bash
You can start the Vagrant box. To work around "fuse-sshfs" not being built into the Vagrant box, do something like this:
vagrant up ; vagrant provision; vagrant halt; vagrant up
Now, once you do a build inside the c7dev container, like:
./autogen.sh CFLAGS='-ggdb -O0' --prefix=/usr --libdir=/usr/lib64 --enable-installed-tests --enable-gtk-doc
To sync over and install the built binaries:
make vmsync
You may also want to use vmcheck
, like this:
make vmoverlay && make vmcheck