proxmox: fix the status table and the template lifecycle
Found on the first real deployment: - status used the qemu implementation (pidfile + VNC display) and died with "qemu_pidfile: command not found". The Proxmox override shows VMID, state and role, plus the Kali seats once they exist. - snapshot templated the working VM in place (id 1100) while reset cloned from base+100 (1200), so reset always failed and up could not start a template. snapshot now clones the VM into 1200 and templates the clone; reset and launch clone 1200 back into 1100. - working clones are full copies: snapshot --update destroys and rebuilds the template, which would orphan a linked clone. - vnc prints the noVNC URL instead of a localhost display that does not exist on Proxmox. Checked against a stubbed qm: status table, snapshot, reset and launch-without-a-VM all behave.
This commit is contained in:
@@ -169,7 +169,7 @@ de continuer si elle ne correspond pas à la machine.
|
||||
./lab.sh users alice bob carol # comptes Proxmox + URL de console
|
||||
```
|
||||
|
||||
`reset` détruit la VM et la reclone depuis le gabarit : quelques secondes, pas de réinstallation.
|
||||
`reset` détruit la VM et la reclone depuis le gabarit : une copie de disque (quelques dizaines de secondes), pas de réinstallation.
|
||||
|
||||
`reset` ne touche pas aux Kali : `./lab.sh kali reset` les recrée séparément.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user