removing unused deployment
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
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
|
||||
@@ -1,33 +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 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