delete 243
This commit is contained in:
		
							
								
								
									
										22
									
								
								.gitea/workflows/iSCSI243_DELETE.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.gitea/workflows/iSCSI243_DELETE.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
				
			|||||||
 | 
					name: Create VM at proxmox
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  workflow_dispatch:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  deploy:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Deploying VM to Proxmox 
 | 
				
			||||||
 | 
					        uses: appleboy/ssh-action@v1.2.0
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          host: 192.168.11.102
 | 
				
			||||||
 | 
					          username: root
 | 
				
			||||||
 | 
					          password: ${{ secrets.PASSWORD }}
 | 
				
			||||||
 | 
					          port: 22
 | 
				
			||||||
 | 
					          script: |
 | 
				
			||||||
 | 
					            pveversion
 | 
				
			||||||
 | 
					            qm stop 243
 | 
				
			||||||
 | 
					            qm destroy 243
 | 
				
			||||||
		Reference in New Issue
	
	Block a user