Compare commits
	
		
			36 Commits
		
	
	
		
			010296b5be
			...
			main
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					1b5ed30d10 | ||
| 
						 | 
					e3b65dda61 | ||
| 
						 | 
					4797d66e0d | ||
| 
						 | 
					e3df74ab34 | ||
| 
						 | 
					95e439f406 | ||
| 
						 | 
					f7855b0483 | ||
| 
						 | 
					e72066e9a7 | ||
| 
						 | 
					906cb4628c | ||
| 
						 | 
					51079bc226 | ||
| 33600fd444 | |||
| 
						 | 
					6a13925f34 | ||
| c0c9899342 | |||
| 
						 | 
					6815034619 | ||
| 39fc3f673a | |||
| 
						 | 
					7ee09711ea | ||
| 
						 | 
					c4453d5c6d | ||
| 
						 | 
					fb92df1b5d | ||
| 
						 | 
					621173e9fc | ||
| 
						 | 
					6380c06229 | ||
| 
						 | 
					6ec1bef233 | ||
| 
						 | 
					1f8871db8e | ||
| 
						 | 
					8fced612a1 | ||
| 
						 | 
					026ff54db9 | ||
| 
						 | 
					2bf3cd6e57 | ||
| 
						 | 
					6df850a684 | ||
| 
						 | 
					c879985f34 | ||
| 
						 | 
					e4531c2dad | ||
| 
						 | 
					08ea8e8f5a | ||
| 
						 | 
					e16293c9c7 | ||
| 
						 | 
					9db5656474 | ||
| 
						 | 
					c08b82976d | ||
| 
						 | 
					278fa4ea57 | ||
| 
						 | 
					dc012a989c | ||
| 
						 | 
					65115e9980 | ||
| 
						 | 
					65a8fd2bf5 | ||
| 
						 | 
					bc48a073fd | 
@@ -1,32 +0,0 @@
 | 
			
		||||
name: DEPLOY 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 create 140 --name cloudINIT140 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26
 | 
			
		||||
            qm set 140 --bios seabios
 | 
			
		||||
            qm importdisk 140 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk
 | 
			
		||||
            qm set 140 --virtio0 smallDisk:140/vm-140-disk-0.raw
 | 
			
		||||
            qm set 140 --ide2 smallDisk:cloudinit
 | 
			
		||||
            qm set 140 --boot order=virtio0
 | 
			
		||||
            qm set 140 --ipconfig0 ip=192.168.11.240/24,gw=192.168.11.1
 | 
			
		||||
            qm set 140 --ciuser chs --cipassword genius
 | 
			
		||||
            qm set 140 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAE39D/Dep3EHMWXB6wiMTL0My1SlMZVk0Y80jEv7LOb xchose@freya.local")
 | 
			
		||||
            qm start 140
 | 
			
		||||
            qm resize 140 virtio0 +30G
 | 
			
		||||
             
 | 
			
		||||
							
								
								
									
										22
									
								
								.gitea/workflows/k8s01DEV244_DELETE.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.gitea/workflows/k8s01DEV244_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 244
 | 
			
		||||
            qm destroy 244
 | 
			
		||||
							
								
								
									
										33
									
								
								.gitea/workflows/k8s01DEV244_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								.gitea/workflows/k8s01DEV244_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
name: DEPLOY 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 create 244 --name k8s01DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26
 | 
			
		||||
            qm set 244 --bios seabios
 | 
			
		||||
            qm importdisk 244 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM
 | 
			
		||||
            qm set 244 --virtio0 iSCSIsynologyLVM:vm-244-disk-0
 | 
			
		||||
            qm set 244 --ide2 iSCSIsynologyLVM:cloudinit
 | 
			
		||||
            qm set 244 --boot order=virtio0
 | 
			
		||||
            qm set 244 --ipconfig0 ip=192.168.11.244/24,gw=192.168.11.1
 | 
			
		||||
            qm set 244 --ciuser chs --cipassword genius
 | 
			
		||||
            qm set 244 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
 | 
			
		||||
            qm set 244 --agent enabled=1
 | 
			
		||||
            qm resize 244 virtio0 +30G
 | 
			
		||||
            qm start 244
 | 
			
		||||
             
 | 
			
		||||
							
								
								
									
										22
									
								
								.gitea/workflows/k8s02DEV242_DELETE.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.gitea/workflows/k8s02DEV242_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 242
 | 
			
		||||
            qm destroy 242
 | 
			
		||||
							
								
								
									
										33
									
								
								.gitea/workflows/k8s02DEV242_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								.gitea/workflows/k8s02DEV242_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
name: DEPLOY 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 create 242 --name k8s02DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26
 | 
			
		||||
            qm set 242 --bios seabios
 | 
			
		||||
            qm importdisk 242 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM
 | 
			
		||||
            qm set 242 --virtio0 iSCSIsynologyLVM:vm-242-disk-0
 | 
			
		||||
            qm set 242 --ide2 iSCSIsynologyLVM:cloudinit
 | 
			
		||||
            qm set 242 --boot order=virtio0
 | 
			
		||||
            qm set 242 --ipconfig0 ip=192.168.11.242/24,gw=192.168.11.1
 | 
			
		||||
            qm set 242 --ciuser chs --cipassword genius
 | 
			
		||||
            qm set 242 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
 | 
			
		||||
            qm set 242 --agent enabled=1
 | 
			
		||||
            qm resize 242 virtio0 +30G
 | 
			
		||||
            qm start 242
 | 
			
		||||
             
 | 
			
		||||
							
								
								
									
										22
									
								
								.gitea/workflows/k8s03DEV243_DELETE.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.gitea/workflows/k8s03DEV243_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
 | 
			
		||||
							
								
								
									
										33
									
								
								.gitea/workflows/k8s03DEV243_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								.gitea/workflows/k8s03DEV243_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
name: DEPLOY 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 create 243 --name k8s03DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26
 | 
			
		||||
            qm set 243 --bios seabios
 | 
			
		||||
            qm importdisk 243 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM
 | 
			
		||||
            qm set 243 --virtio0 iSCSIsynologyLVM:vm-243-disk-0
 | 
			
		||||
            qm set 243 --ide2 iSCSIsynologyLVM:cloudinit
 | 
			
		||||
            qm set 243 --boot order=virtio0
 | 
			
		||||
            qm set 243 --ipconfig0 ip=192.168.11.243/24,gw=192.168.11.1
 | 
			
		||||
            qm set 243 --ciuser chs --cipassword genius
 | 
			
		||||
            qm set 243 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
 | 
			
		||||
            qm set 243 --agent enabled=1
 | 
			
		||||
            qm resize 243 virtio0 +30G
 | 
			
		||||
            qm start 243
 | 
			
		||||
             
 | 
			
		||||
							
								
								
									
										18
									
								
								readme.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								readme.md
									
									
									
									
									
								
							@@ -1,4 +1,5 @@
 | 
			
		||||
## Autmatic Instalation check 140 static ip:
 | 
			
		||||
First shot of deplyment via bash script
 | 
			
		||||
``` 
 | 
			
		||||
qm create 140 --name cloudINIT140 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26
 | 
			
		||||
qm set 140 --bios seabios
 | 
			
		||||
@@ -12,3 +13,20 @@ qm set 140 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAE39D/Dep3EHMWX
 | 
			
		||||
qm start 140
 | 
			
		||||
qm resize 140 virtio0 +30G
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Second shot install to iSCSI synology disk:
 | 
			
		||||
First shot of deplyment via bash script
 | 
			
		||||
``` 
 | 
			
		||||
qm create 244 --name k8s01DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26
 | 
			
		||||
qm set 244 --bios seabios
 | 
			
		||||
qm importdisk 244 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM
 | 
			
		||||
qm set 244 --virtio0 iSCSIsynologyLVM:vm-244-disk-0
 | 
			
		||||
qm set 244 --ide2 iSCSIsynologyLVM:cloudinit
 | 
			
		||||
qm set 244 --boot order=virtio0
 | 
			
		||||
qm set 244 --ipconfig0 ip=192.168.11.244/24,gw=192.168.11.1
 | 
			
		||||
qm set 244 --ciuser chs --cipassword genius
 | 
			
		||||
qm set 244 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
 | 
			
		||||
qm set 244 --agent enabled=1
 | 
			
		||||
qm resize 244 virtio0 +30G
 | 
			
		||||
qm start 244
 | 
			
		||||
```
 | 
			
		||||
@@ -18,6 +18,6 @@ jobs:
 | 
			
		||||
          port: 22
 | 
			
		||||
          script: |
 | 
			
		||||
            pveversion
 | 
			
		||||
            qm stop 140
 | 
			
		||||
            qm destroy 140
 | 
			
		||||
            qm stop 240
 | 
			
		||||
            qm destroy 240
 | 
			
		||||
             
 | 
			
		||||
							
								
								
									
										33
									
								
								unUsedPipelines/cloudINIT240_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								unUsedPipelines/cloudINIT240_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
name: DEPLOY 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 create 240 --name cloudINIT240 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26
 | 
			
		||||
            qm set 240 --bios seabios
 | 
			
		||||
            qm importdisk 240 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk
 | 
			
		||||
            qm set 240 --virtio0 smallDisk:240/vm-240-disk-0.raw
 | 
			
		||||
            qm set 240 --ide2 smallDisk:cloudinit
 | 
			
		||||
            qm set 240 --boot order=virtio0
 | 
			
		||||
            qm set 240 --ipconfig0 ip=192.168.11.240/24,gw=192.168.11.1
 | 
			
		||||
            qm set 240 --ciuser chs --cipassword genius
 | 
			
		||||
            qm set 240 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
 | 
			
		||||
            qm set 240 --agent enabled=1
 | 
			
		||||
            qm start 240
 | 
			
		||||
            qm resize 240 virtio0 +30G
 | 
			
		||||
             
 | 
			
		||||
							
								
								
									
										22
									
								
								unUsedPipelines/cloudINIT241_DELETE.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								unUsedPipelines/cloudINIT241_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 241
 | 
			
		||||
            qm destroy 241
 | 
			
		||||
							
								
								
									
										33
									
								
								unUsedPipelines/cloudINIT241_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								unUsedPipelines/cloudINIT241_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
name: DEPLOY 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 create 241 --name cloudINIT241 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26
 | 
			
		||||
            qm set 241 --bios seabios
 | 
			
		||||
            qm importdisk 241 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk
 | 
			
		||||
            qm set 241 --virtio0 smallDisk:241/vm-241-disk-0.raw
 | 
			
		||||
            qm set 241 --ide2 smallDisk:cloudinit
 | 
			
		||||
            qm set 241 --boot order=virtio0
 | 
			
		||||
            qm set 241 --ipconfig0 ip=192.168.11.241/24,gw=192.168.11.1
 | 
			
		||||
            qm set 241 --ciuser chs --cipassword genius
 | 
			
		||||
            qm set 241 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
 | 
			
		||||
            qm set 241 --agent enabled=1
 | 
			
		||||
            qm start 241
 | 
			
		||||
            qm resize 241 virtio0 +30G
 | 
			
		||||
             
 | 
			
		||||
							
								
								
									
										22
									
								
								unUsedPipelines/iSCSI243_DELETE.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								unUsedPipelines/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
 | 
			
		||||
							
								
								
									
										33
									
								
								unUsedPipelines/iSCSI243_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								unUsedPipelines/iSCSI243_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
name: DEPLOY 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 create 243 --name cloudINIT243 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26
 | 
			
		||||
            qm set 243 --bios seabios
 | 
			
		||||
            qm importdisk 243 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk
 | 
			
		||||
            qm set 243 --virtio0 iSCSIsynology:243/vm-243-disk-0.raw
 | 
			
		||||
            qm set 243 --ide2 iSCSIsynology:cloudinit
 | 
			
		||||
            qm set 243 --boot order=virtio0
 | 
			
		||||
            qm set 243 --ipconfig0 ip=192.168.11.243/24,gw=192.168.11.1
 | 
			
		||||
            qm set 243 --ciuser chs --cipassword genius
 | 
			
		||||
            qm set 243 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
 | 
			
		||||
            qm set 243 --agent enabled=1
 | 
			
		||||
            qm start 243
 | 
			
		||||
            qm resize 243 virtio0 +30G
 | 
			
		||||
             
 | 
			
		||||
							
								
								
									
										22
									
								
								unUsedPipelines/k8sDEV242_DELETE.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								unUsedPipelines/k8sDEV242_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 242
 | 
			
		||||
            qm destroy 242
 | 
			
		||||
							
								
								
									
										33
									
								
								unUsedPipelines/k8sDEV242_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								unUsedPipelines/k8sDEV242_DEPLOY.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
name: DEPLOY 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 create 242 --name k8sDEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26
 | 
			
		||||
            qm set 242 --bios seabios
 | 
			
		||||
            qm importdisk 242 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk
 | 
			
		||||
            qm set 242 --virtio0 smallDisk:242/vm-242-disk-0.raw
 | 
			
		||||
            qm set 242 --ide2 smallDisk:cloudinit
 | 
			
		||||
            qm set 242 --boot order=virtio0
 | 
			
		||||
            qm set 242 --ipconfig0 ip=192.168.11.242/24,gw=192.168.11.1
 | 
			
		||||
            qm set 242 --ciuser chs --cipassword genius
 | 
			
		||||
            qm set 242 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
 | 
			
		||||
            qm set 242 --agent enabled=1
 | 
			
		||||
            qm start 242
 | 
			
		||||
            qm resize 242 virtio0 +30G
 | 
			
		||||
             
 | 
			
		||||
		Reference in New Issue
	
	Block a user