CR fixes
This commit is contained in:
		
							parent
							
								
									f2c18812a1
								
							
						
					
					
						commit
						3fb905cacb
					
				|  | @ -1,6 +1,7 @@ | ||||||
| **~ | **~ | ||||||
| node_modules | node_modules | ||||||
| dev/* | dev | ||||||
| /ci/bin/*dev* | /ci/bin/*dev* | ||||||
| .vagrant | .vagrant | ||||||
| !dev/run.sh | hack/* | ||||||
|  | !hack/run.sh | ||||||
|  | @ -31,7 +31,7 @@ To use the devcontainer: | ||||||
| 
 | 
 | ||||||
| > [!Note] | > [!Note] | ||||||
| > For `iSCSI` it's mandatory to use the Vagrant VM, due to the need of a kernel driver. | > For `iSCSI` it's mandatory to use the Vagrant VM, due to the need of a kernel driver. | ||||||
| > However for other tests the container is probably enough. It's possible to run the `dev/run.sh` | > However for other tests the container is probably enough. It's possible to run the `hack/run.sh` | ||||||
| > as explained below in the devcontainer and see if it's possible, before spinning up a full VM. | > as explained below in the devcontainer and see if it's possible, before spinning up a full VM. | ||||||
| 
 | 
 | ||||||
| #### 2. System Testing with Vagrant | #### 2. System Testing with Vagrant | ||||||
|  | @ -59,7 +59,7 @@ cd ~/democratic-csi | ||||||
| # just configured for your own environment. | # just configured for your own environment. | ||||||
| # You can also create a file `dev/secrets.env` that has `export VARIABLE=VALUE` | # You can also create a file `dev/secrets.env` that has `export VARIABLE=VALUE` | ||||||
| # and reference those in your `config.yaml` | # and reference those in your `config.yaml` | ||||||
| ./dev/run.sh -c ./dev/config.yaml | ./hack/run.sh -c ./hack/config.yaml | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ##### Keeping Files in Sync | ##### Keeping Files in Sync | ||||||
|  |  | ||||||
|  | @ -19,7 +19,25 @@ Vagrant.configure("2") do |config| | ||||||
|    |    | ||||||
|     config.vm.provision "shell", inline: <<-SHELL |     config.vm.provision "shell", inline: <<-SHELL | ||||||
|       sudo apt-get update -y |       sudo apt-get update -y | ||||||
|       sudo apt-get install -y open-iscsi nodejs git make | 
 | ||||||
|  |       # for building dependecies and executing node | ||||||
|  |       sudo apt-get install -y nodejs git make | ||||||
|  | 
 | ||||||
|  |       # for app functionality | ||||||
|  |       sudo apt-get install -y netbase socat e2fsprogs xfsprogs fatresize dosfstools nfs-common cifs-utils | ||||||
|  | 
 | ||||||
|  |        # Install the following system packages | ||||||
|  |       sudo apt-get install -y open-iscsi lsscsi sg3-utils multipath-tools scsitools nvme-cli | ||||||
|  | 
 | ||||||
|  |       # Enable multipathing | ||||||
|  |       sudo tee /etc/multipath.conf << EOF | ||||||
|  |       defaults { | ||||||
|  |           user_friendly_names yes | ||||||
|  |           find_multipaths yes | ||||||
|  |       } | ||||||
|  |       EOF | ||||||
|  | 
 | ||||||
|  |       sudo systemctl enable multipath-tools.service | ||||||
|    |    | ||||||
|       # Enable and start iscsid service |       # Enable and start iscsid service | ||||||
|       sudo systemctl enable --now iscsid |       sudo systemctl enable --now iscsid | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue