fix id and ip
This commit is contained in:
@@ -18,16 +18,16 @@ jobs:
|
|||||||
port: 22
|
port: 22
|
||||||
script: |
|
script: |
|
||||||
pveversion
|
pveversion
|
||||||
qm create 255 --name k8s02DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26
|
qm create 245 --name k8s02DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26
|
||||||
qm set 255 --bios seabios
|
qm set 245 --bios seabios
|
||||||
qm importdisk 255 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM
|
qm importdisk 245 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM
|
||||||
qm set 255 --virtio0 iSCSIsynologyLVM:vm-255-disk-0
|
qm set 245 --virtio0 iSCSIsynologyLVM:vm-245-disk-0
|
||||||
qm set 255 --ide2 iSCSIsynologyLVM:cloudinit
|
qm set 245 --ide2 iSCSIsynologyLVM:cloudinit
|
||||||
qm set 255 --boot order=virtio0
|
qm set 245 --boot order=virtio0
|
||||||
qm set 255 --ipconfig0 ip=192.168.11.255/24,gw=192.168.11.1
|
qm set 245 --ipconfig0 ip=192.168.11.245/24,gw=192.168.11.1
|
||||||
qm set 255 --ciuser chs --cipassword genius
|
qm set 245 --ciuser chs --cipassword genius
|
||||||
qm set 255 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
|
qm set 245 --sshkey <(echo "ssh-ed24519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
|
||||||
qm set 255 --agent enabled=1
|
qm set 245 --agent enabled=1
|
||||||
qm resize 255 virtio0 +30G
|
qm resize 245 virtio0 +30G
|
||||||
qm start 255
|
qm start 245
|
||||||
|
|
||||||
Reference in New Issue
Block a user