Commit Graph

17 Commits

Author SHA1 Message Date
Jeremy Gardais 9617abc968
Test is_sge_host earlier 2021-01-26 20:02:22 +01:00
Jeremy Gardais 259fbd8531
Exit if SGE isn't available on a host 2021-01-26 18:23:01 +01:00
Jeremy Gardais 3795fcbeea
Reboot after successful upgrade 2021-01-06 11:46:19 +01:00
Jeremy Gardais c1d23c04f6
debug func return 0 to allow chain function 2020-08-20 10:02:11 +02:00
Jeremy Gardais 34db514091
Update repositories before upgrading packages 2020-07-18 16:28:34 +02:00
Jeremy Gardais dc271d73ee
Disable DEBUG_MODE 2020-06-24 16:03:33 +02:00
Jeremy Gardais 78be3391b0
Prepare the host before upgrade (forbid SSH,…) 2020-06-22 11:13:03 +02:00
Jeremy Gardais 2257ab7742
Ensure to don't have any SGE queue enable 2020-06-19 10:43:10 +02:00
Jeremy Gardais 23325d2060
Finish by rebooting the system 2020-06-19 10:10:13 +02:00
Jeremy Gardais 6af24258ad
Clean temp data if upgrade succeed 2020-06-19 09:28:12 +02:00
Jeremy Gardais d133af4fed
Exit with code 50 if upgrade fail 2020-06-18 17:03:57 +02:00
Jeremy Gardais 8daa80803d
Check if any Maco upgrade is present
To allow the upgrade before applying any required reboot,…
2020-06-18 17:02:39 +02:00
Jeremy Gardais c3cd76960c
Upgrade system 2020-06-18 16:39:14 +02:00
Jeremy Gardais 04b4befbc6
Check slots_used on all SGE queues 2020-06-18 12:23:17 +02:00
Jeremy Gardais 35b9846c80
Use RED color for found procs
Also remove non-breaking space character.
2020-06-18 12:14:45 +02:00
Jeremy Gardais 27ef7256a0
Watch for temp APT file if APT upgrade is available 2020-06-18 11:51:48 +02:00
Jeremy Gardais 448f71d4cc
Prepare script to apply APT upgrades 2020-06-17 16:35:11 +02:00