Commit Graph

462 Commits

Author SHA1 Message Date
Jeremy Gardais 0eea33d04e Run a full-upgrade for LXC template 2019-04-26 21:25:19 +02:00
Jeremy Gardais e659a0eb1e Ensure to update APT repositories 2019-04-26 19:34:06 +02:00
Jeremy Gardais 850aa4c472 Ensure to install aptitude on LXC container 2019-04-26 19:33:25 +02:00
Jeremy Gardais 4ce0d056be Manage blkmapd libs for NFS 2019-02-19 07:39:03 +01:00
Jeremy Gardais 38c006b1fd Manage lvmetad libs 2019-02-19 07:35:53 +01:00
Jeremy Gardais 6b6a7db739 Add non-free ISO support 2019-02-18 10:18:19 +01:00
Jeremy Gardais dcf134b429 Fix ISO name without version number 2019-01-03 15:11:27 +01:00
Jeremy Gardais 545b528844 Define URLs according to each release of Debian 2019-01-03 15:07:11 +01:00
Jeremy Gardais 725936597f Fix user temp dir with mktemp 2019-01-03 14:20:10 +01:00
Jeremy Gardais b697b42f07 Set a specific xorriso command for mini.iso 2018-12-28 09:19:14 +01:00
Jeremy Gardais 55b72cc978 Fix permissions for creation and deletion 2018-12-28 08:52:20 +01:00
Jeremy Gardais 0790dc35bc Small fix (forgot sleep,…) 2018-12-28 08:22:39 +01:00
Jeremy Gardais 1e51cd1845 Truly add preseed file to initrd…
Also extract initrd to a specific directory before compress it again.
2018-12-28 08:17:13 +01:00
Jeremy Gardais 1cfdbfacd0 Use a main temp directory 2018-12-26 17:54:17 +01:00
Jeremy Gardais 2f01ebdce8 Use xorriso instead of genisoimage 2018-12-26 15:20:14 +01:00
Jeremy Gardais 21c65cf32b Generate the isofile with genisoimage 2018-12-26 14:55:32 +01:00
Jeremy Gardais 04542158ec New script to insert a preseed into an iso image 2018-12-26 14:28:04 +01:00
Jeremy Gardais 31d5b0c669 Move to a generic script to create directory 2018-10-10 11:02:55 +02:00
Jeremy Gardais 09fb786f1e Update script name used to create homedir 2018-10-09 16:47:04 +02:00
Jeremy Gardais bfc6d287e7 New script to automatically create user's homedir
This way new users should be enable to connect to Compute Cluster
without human actions.
2018-10-08 18:15:28 +02:00
Jeremy Gardais 2d10dee279 Add purpose for creation scripts 2018-10-08 18:13:53 +02:00
Jeremy Gardais b727bc7261 Disable debug mode for creation scripts 2018-10-08 18:09:27 +02:00
Jeremy Gardais 7ce55bcce1 Check if dir already exists
This way it's avoid the chown/chmod on an existing home/work directory.
2018-10-08 11:30:30 +02:00
Jeremy Gardais 574d1fc318 Add a script to create user's work dir 2018-09-14 11:07:00 +02:00
Jeremy Gardais fb40c9d1d2 Move compute's script to cluster directory 2018-09-14 11:06:53 +02:00
Jeremy Gardais 0ed2f19144 Script to create user's homedir for the CC 2018-09-13 17:39:05 +02:00
Jeremy Gardais 0d29f3cde8 Forgot to define remote user for procs probe 2018-09-06 17:31:29 +02:00
Jeremy Gardais 348157cb77 Manage php-fpm service 2018-09-06 09:13:10 +02:00
Jeremy Gardais 85878043ea Compare the ID of Docker images instead of tags 2018-08-29 10:23:25 +02:00
Jeremy Gardais 6ecb6df66e Manage apt alert 2018-08-28 16:21:44 +02:00
Jeremy Gardais d09250d088 Manage Xymon's APT alert (only repos outdated) 2018-08-28 16:19:34 +02:00
Jeremy Gardais 6f85cca381 Script to watch upgrade on Sharelatex Docker img 2018-08-28 11:32:05 +02:00
Jeremy Gardais 805905fbbd Silent download the new version of the image
Also print the new version in the temp file.
2018-08-28 11:20:33 +02:00
Jeremy Gardais 9e5e3fa563 Script to check Rocket.Chat upgrade 2018-08-27 16:29:09 +02:00
Jeremy Gardais 121ddf8fcf Small script to list all tags of a Docker image
From Docker Hub.
2018-08-27 14:56:03 +02:00
Jeremy Gardais 19df5e41fb Take everything before "_" as the service name 2018-08-22 10:27:35 +02:00
Jeremy Gardais 9976b04c06 Add a sample of offset warning 2018-08-21 16:38:54 +02:00
Jeremy Gardais 524f9c904d Don't store host ssh fingerprint 2018-08-21 16:38:31 +02:00
Jeremy Gardais 4720c28fcf Manage Xymon's procs alert 2018-08-21 16:37:37 +02:00
Jeremy Gardais 0f404c3a33 Restart services in error and xymon-client
Also disable debug mode and add some explanations.
2018-08-21 16:36:45 +02:00
Jeremy Gardais d7887bd72a Get service information from two patterns
Get service name, the number of processes found, minimal and maximal.
2018-08-21 14:53:12 +02:00
Jeremy Gardais cb55bb2f8e Redirect output to log files 2018-08-21 13:41:35 +02:00
Jeremy Gardais 9249730a88 Add some sample of variables Xymon alert can send 2018-08-21 13:33:25 +02:00
Jeremy Gardais 25d460d928 Add a script to get Xymon's alerts variables 2018-08-21 13:33:03 +02:00
Jeremy Gardais a3832036b4 Move sample messages to specific directory 2018-08-21 11:04:27 +02:00
Jeremy Gardais 60bb08d609 Fix the input for SSH commands
This way, the ssh command no longer exit from while loop.
See : https://stackoverflow.com/a/9393147
2018-08-21 09:46:48 +02:00
Jeremy Gardais ad0fe27844 Avoid to restart more than once the same service 2018-08-21 09:43:17 +02:00
Jeremy Gardais 2204b250ea Add a binary path for Postfix on Debian Stretch 2018-08-21 09:24:52 +02:00
Jeremy Gardais 012472f86f Don't store host fingerprint with SSH 2018-08-21 09:20:04 +02:00
Jeremy Gardais 1cd251847b Create log files and remove empty one at the end 2018-08-21 08:48:44 +02:00