How to connect?
Download (1.12 KB) Statistics View on GitHub Reload from mirrored respository
| Branch: | Tag: | Revision:

root / @ master

Prepare machine for mdbci

Preparation scripts and sequence (+current order is important+)

Generate and copy slave ssh key to max-tst-01:

ssh-keygen -t rsa
cat .ssh/ | ssh 'cat >> .ssh/authorized_keys' # will ask for vagrant password

Run scripts(from MDBCI folder) in next order:


After that you need to logout and login

exec su $USER

IMPORTANT Vagrant needs additional package - nfs-server-kernel:

sudo apt-get install nfs-kernel-server

And you need to prepare vagrant user with all needed privileges

Add to the /etc/sudoers.d/vagrant next lines:

Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/tee -a /etc/exports
Cmnd_Alias VAGRANT_EXPORTS_COPY = /bin/cp /tmp/exports /etc/exports
Cmnd_Alias VAGRANT_NFSD_CHECK = /etc/init.d/nfs-kernel-server status
Cmnd_Alias VAGRANT_NFSD_START = /etc/init.d/nfs-kernel-server start
Cmnd_Alias VAGRANT_NFSD_APPLY = /usr/sbin/exportfs -ar
Cmnd_Alias VAGRANT_EXPORTS_REMOVE = /bin/sed -r -e * d -ibak /tmp/exp