Commit Graph

5 Commits

Author SHA1 Message Date
Jeremy Gardais a57edc3a0b
Upgrade template ID with new Bookworm ID 2023-07-05 11:53:26 +02:00
Jeremy Gardais a63675f4b9
Increase sleeping delay to start an LXC CT 2022-01-24 07:32:56 +01:00
Jeremy Gardais 54cf9ba91e
Print error message without DEBUG 2022-01-17 07:56:55 +01:00
Jeremy Gardais c5acd253ac
Set full path to pct 2021-11-16 12:03:28 +01:00
Jeremy Gardais 4b491ed2d4
New script to upgrade an LXC template
Test if it's a Proxmox host

Call define_vars function

Verify if the ct_id is available on the host

Add color to important value in DEBUG mode

Function to verify current LXC container state

New function to start the container

Add option to define sleep_delay

Function to upgrade the container

Keep output only if DEBUG mode

Function to stop the container

error_message function and exit if CT is running

Working script to upgrade an LXC CT (a template)
2021-11-15 15:22:32 +01:00