KVM Template mounten

baldy

Active Member
Feb 9, 2017
17
4
43
41
Hallo ihr Lieben,

ich habe mir ein Cloud-Init KVM Template gebaut und leider vergessen den qemu-guest-agent zu installieren.
Nun war meine Idee das ZFS Image irgendwie zu mounten und im chroot einfach das Paket nachinstallieren.

Jemand eine Idee wie man das machen kann ohne viel Tam-Tam? Ich wollt die Template nicht neu bauen.
 
hab ich noch nie benötigt aber zur Not:

Full-Clone erstellen -> Änderungen einbauen -> neues Template erstellen
 
hab ich noch nie benötigt aber zur Not:

Full-Clone erstellen -> Änderungen einbauen -> neues Template erstellen
Das klappt leider nicht weil du das template nicht bootet solltest.
Ich habs allerdings mit einem tool direkt im image machen können.
So konnte ich die cloud.conf vom cloud-init nach meinen bedürfnissen anpassen. Ist sogar viel besser ;)

Und wenn man es richtig geil machen will kannst im Cloud-init sogar ein ansible script ausm repo clonen und ausführen was dich ja super flexible macht.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!