====== Cloud Init Drive verschieben ======
Config anzeigen lassen, um Cloud Init Drive herauszufinden
[root@pve2 ~]$ qm config 409
agent: enabled=1
balloon: 2048
boot: c
bootdisk: scsi0
cipassword: **********
ciupgrade: 1
ciuser: scheffe
cores: 4
cpu: cputype=host
ipconfig0: ip=192.168.13.50/24,gw=192.168.13.1
memory: 4096
meta: creation-qemu=9.0.2,ctime=1741463437
name: fileserv
nameserver: 192.168.13.61
net0: virtio=BC:24:11:93:30:AC,bridge=vmbr0
ostype: l26
scsi0: ceph_SSD:vm-409-disk-0,size=10G,ssd=1
scsi1: ceph_HDD_3TB:vm-409-cloudinit,media=cdrom,size=4M
scsi2: ceph_HDD_10TB:vm-409-disk-0,backup=0,iothread=1,size=8T
scsihw: virtio-scsi-single
searchdomain: home.lan
serial0: socket
smbios1: uuid=f4e1bbd9-a102-4d5e-bc84-22f99b281e1b
sshkeys: ssh-rsa%20AAAAB3NzaC1yc2EAAAABIwAAAQEAtjIWuNCCmLOO88%2BC97Y7%2FibPAlCXkSazaOw6NZLSB%2FSGqyjYuxBAUtS4%2FkEaAlaeERwyCu9TQ4gRodvhayrPIF%2F8bvlad4jefj%2FWpoAUzZSckWxX4qXgzo7zxc%2FkTlaKCg1wCPXZwQSKHHvMp1I1OuX1xedCSI14vSE%2BLkIqvXUq3pg1psWrTVBsL3QPp0kJsOkWKb2%2BSQt0rtnCBBGlZJDjjFkyY720txahhcxs7Q%2FVxTXyg1ljD5skt%2BcoZV%2F4VZEkaN6%2BpGm%2FsJk2XCNudDFEEV6YR5kg8oKbIWrLP6h4E1K48JciSE1zu67b6yjDVnKox0GK01HH8YAkEsDDFw%3D%3D%20jochen%40server%0Assh-ed25519%20AAAAC3NzaC1lZDI1NTE5AAAAIERoBUfhdhHwOSZEMa%2BQXqy62O6FDsCaUVu4vCRv0OJc%20jochen%40t460%0A
tags: ceph_10;ceph_3
vga: serial0
vmgenid: fbed4472-e85d-46fd-aa9b-c847056ddadf
Disk scsi1 entfernen, Config bleibt erhalten
[root@pve2 ~]$ qm set 409 --scsi1 none
update VM 409: -scsi1 none
Removing image: 100% complete...done.
Auf neuem Storage ein Cloud Init Drive erstellen
[root@pve2 ~]$ qm set 409 --scsi1 ceph_SSD:cloudinit
update VM 409: -scsi1 ceph_SSD:cloudinit
scsi1: successfully created disk 'ceph_SSD:vm-409-cloudinit,media=cdrom'
generating cloud-init ISO
Cloud Init Drive mit der vorhandenen Config updaten
[root@pve2 ~]$ qm cloudinit update 409
generating cloud-init ISO
Mit //qm config 409// kann die config überprüft werden