rpm-ostree/vagrant
Jonathan Lebon 2f68c02e1a Vagrantfile: specify full path to using_sshfs
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
2016-12-21 20:00:43 +00:00
..
.gitignore Redo vmcheck to abstract over ssh-config, drop all building 2016-11-16 18:14:23 +00:00
README.md Redo vmcheck to abstract over ssh-config, drop all building 2016-11-16 18:14:23 +00:00
setup.yml Vagrantfile: specify full path to using_sshfs 2016-12-21 20:00:43 +00:00

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