Jeremy Gardais
f01126f935
Add new job-init phase
2022-03-24 09:53:29 +01:00
Jeremy Gardais
f2eb26eeaa
Ignore release candidate for Nextcloud update
2022-03-14 09:19:17 +01:00
Jeremy Gardais
701b1fc6f4
Exclude lock files/directories from backup
2022-02-09 10:39:56 +01:00
Jeremy Gardais
2ffb67cc35
Redirect debug_message to temp log file
2022-02-08 11:47:28 +01:00
Jeremy Gardais
03c713d836
Reorder debug messages
2022-02-07 15:07:53 +01:00
Jeremy Gardais
1b6946edc3
Replace cut with sed to get the last two extensions
2022-02-07 14:56:21 +01:00
Jeremy Gardais
9f9ef99f1a
Add new vzdump hook to hardlink latest backup
2022-02-03 14:33:08 +01:00
Jeremy Gardais
70bf10ab59
Exit with error if new_version is empty
2022-02-01 10:30:06 +01:00
Jeremy Gardais
3fa03cadd2
Find and remove old files only from current dir
...
Avoid to find files in subdirectory
2022-02-01 10:27:44 +01:00
Jeremy Gardais
3580fa5f13
Improve gitea update checking
...
Manage options
Manage help message
Manage Gitea's path with option
Manage vars in specific function
Use main() !
Only use DEBUG with debug_message
Add --download option to get new Gitea release
Manage Gitea binary empty file
Error if can't get Gitea's current version
Ensure to clean previous unused release
Download from dl.gitea.io (default); add --github
2022-01-31 18:39:30 +01:00
Jeremy Gardais
7198e02523
Alacritty: Use Bullseye version of the package
2022-01-24 10:14:55 +01:00
Jeremy Gardais
e69f5b087a
Alacritty: Ignore rc version of .deb file
2022-01-24 09:25:30 +01:00
Jeremy Gardais
a63675f4b9
Increase sleeping delay to start an LXC CT
2022-01-24 07:32:56 +01:00
Jeremy Gardais
12ba56fd0d
Ignore empty lines
...
Potential removed tags,…
2022-01-20 07:53:49 +01:00
Jeremy Gardais
54cf9ba91e
Print error message without DEBUG
2022-01-17 07:56:55 +01:00
Jeremy Gardais
700d6d2c5c
Exit if SGE is not configured on hosts
2021-12-22 11:03:26 +01:00
Jeremy Gardais
15992d9393
Ignore error message for qconf result
2021-12-22 10:53:33 +01:00
Jeremy Gardais
1cd20da9b6
Use localhost as default master to allow host lookup
2021-12-15 05:59:02 +01:00
Jeremy Gardais
1d1bf88bd6
Get SGE master from config file
2021-12-09 15:33:27 +01:00
Jeremy Gardais
8eb7a52aef
Ensure to setup correct permissions on homedir
2021-11-29 16:05:01 +01:00
Jeremy Gardais
ec39784e14
Create home directory for each user
2021-11-29 15:27:47 +01:00
Jeremy Gardais
71b0499341
Compare new and old users list (if available)
2021-11-29 15:13:40 +01:00
Jeremy Gardais
6b130315dd
Sort users to avoid differences between each runs
2021-11-29 12:05:37 +01:00
Jeremy Gardais
2cc9078ad9
Rename file list for next run
2021-11-29 12:01:38 +01:00
Jeremy Gardais
6dc5cd590d
Get users list from LDAP group
2021-11-26 16:55:05 +01:00
Jeremy Gardais
825cf90ec0
Manage --home option and verify home base dir
2021-11-26 14:14:47 +01:00
Jeremy Gardais
3d14412124
Script to set a ZFS quota to all user of a pool
...
Or dataset…
2021-11-24 14:10:55 +01:00
Jeremy Gardais
c7d3012d0c
Test sge_execd in two steps
2021-11-24 07:36:32 +01:00
Jeremy Gardais
1279e28e83
Disable SGE queue only if sge_execd is absent
2021-11-24 07:35:44 +01:00
Jeremy Gardais
2340ced9b8
Ensure queue is disable before starting sge_execd
2021-11-23 17:14:48 +01:00
Jeremy Gardais
9d31d4ab02
FORCE_MODE: Don't manage host as a localhost
2021-11-23 17:07:02 +01:00
Jeremy Gardais
4b0ee6da93
Add FORCE_MODE
2021-11-23 16:35:43 +01:00
Jeremy Gardais
1781803123
Test if ldapsearch is available
2021-11-19 15:05:03 +01:00
Jeremy Gardais
29e64cc35d
Add is_var_empty_silent for sensitives variables
2021-11-19 14:48:41 +01:00
Jeremy Gardais
c9991761dc
Allow to enter ldap_user and ldap_passwd commands
2021-11-19 14:45:06 +01:00
Jeremy Gardais
2be03f6701
Allow to define LDAP server
2021-11-19 14:19:57 +01:00
Jeremy Gardais
aac9641c04
Allow to define LDAP group_base
2021-11-19 14:13:23 +01:00
Jeremy Gardais
6c134757cf
Test empty var in main
2021-11-19 14:05:56 +01:00
Jeremy Gardais
91eaa7642a
New script to create user's homedir
2021-11-19 13:59:39 +01:00
Jeremy Gardais
f56e2b067c
Add a delay after the start of sge_execd
2021-11-18 12:11:04 +01:00
Jeremy Gardais
900cc0611d
Start sge_execd earlier
2021-11-18 11:58:30 +01:00
Jeremy Gardais
c5acd253ac
Set full path to pct
2021-11-16 12:03:28 +01:00
Jeremy Gardais
123f5afaa2
Also verify that node is a SGE submit host
2021-11-16 10:18:59 +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
Jeremy Gardais
b89daa4f3c
Use long-format for options
2021-11-12 11:58:07 +01:00
Jeremy Gardais
bfc1660c68
Remove cmd already runned with latecommand script
2021-11-12 11:53:52 +01:00
Jeremy Gardais
565304f72d
Zoom: Update pattern for major release number
2021-10-27 14:28:52 +02:00
Jeremy Gardais
866f928f78
New script to verify Alacritty upgrade
2021-10-27 09:38:09 +02:00
Jeremy Gardais
79ff7e0a5f
Gitea: Ensure to remove unused previous release
2021-09-29 15:26:19 +02:00
Jeremy Gardais
f66af4977d
Reprepro: Ignore hidden packages
2021-08-30 12:27:20 +02:00