Add set -u to dom0
This commit is contained in:
		
							
								
								
									
										2
									
								
								dom0.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dom0.sh
									
									
									
									
									
								
							@@ -14,7 +14,7 @@
 | 
				
			|||||||
# License for the specific language governing permissions and limitations under
 | 
					# License for the specific language governing permissions and limitations under
 | 
				
			||||||
# the License.
 | 
					# the License.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set -e
 | 
					set -eu
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Enabling discard and fstrim
 | 
					# Enabling discard and fstrim
 | 
				
			||||||
sudo sed -i 's/issue_discards = 0/issue_discards = 1/g' /etc/lvm/lvm.conf
 | 
					sudo sed -i 's/issue_discards = 0/issue_discards = 1/g' /etc/lvm/lvm.conf
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user