Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vagrant_advanced_management [2019/10/18 20:04] – external edit 127.0.0.1vagrant_advanced_management [2021/11/02 05:03] (current) andonovj
Line 35: Line 35:
 The first part of the configuration is the general configuration for all boxes. The first part of the configuration is the general configuration for all boxes.
 As you can see, we have enabled GUI for all machines and we have enabled 1534 MBs of Virtual memory (RAM). The next part is configuration for a box called: ainsible and the other for a box called: app1 As you can see, we have enabled GUI for all machines and we have enabled 1534 MBs of Virtual memory (RAM). The next part is configuration for a box called: ainsible and the other for a box called: app1
 +
 +
 +====Rsync Back====
 +By default, vagrant rsync shared folders from the host (where vagrant runs) -> the target machine. So if we want to download any files generated on the target servers, to be used by the others, using the host as proxy. We have to install a specific plugin.
 +
 +<Code:none| Install rsync back>
 +andonovj@DESKTOP-N65RKDP /cygdrive/d/Virtuals/Docker Swarm
 +$ vagrant plugin install vagrant-rsync-back
 +Installing the 'vagrant-rsync-back' plugin. This can take a few minutes...
 +Fetching: vagrant-rsync-back-0.0.1.gem (100%)
 +Installed the plugin 'vagrant-rsync-back (0.0.1)'!
 +andonovj@DESKTOP-N65RKDP /cygdrive/d/Virtuals/Docker Swarm
 +$ vagrant rsync-back mgr1
 +==> mgr1: Rsyncing folder: /vagrant/ => /cygdrive/d/Virtuals/Docker Swarm
 +</Code>
  
 ==== Possible Errors ==== ==== Possible Errors ====
Line 60: Line 75:
  
 Assure that the password for the user (in our case root) is the same as the vagrant file AND ensure that the rootlogin is enable and the password authentication is also enabled. Assure that the password for the user (in our case root) is the same as the vagrant file AND ensure that the rootlogin is enable and the password authentication is also enabled.
 +
 +
 +====Install VirtualBox Guest Addition====
 +When you will want to create a shared folders between the virtual box and the host machine. You need a VirtulBox Guest addition, which can be installed as follows:
 +
 +<Code:bash|Install VirtualBox Guest Addition Plugin>
 +C:\Users\julie\VirtualBox VMs\OUD>vagrant plugin install vagrant-vbguest
 +Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
 +Fetching vagrant-vbguest-0.30.0.gem
 +Successfully uninstalled vagrant-vbguest-0.21.0
 +Installed the plugin 'vagrant-vbguest (0.30.0)'!
 +
 +C:\Users\julie\VirtualBox VMs\OUD>
 +</Code><
  • vagrant_advanced_management.1571429096.txt.gz
  • Last modified: 2019/10/18 20:04
  • by 127.0.0.1