git.ipr: New main domain
This commit is contained in:
parent
3986af300d
commit
567356b238
|
@ -34,7 +34,7 @@ Some commands in order to clean and prepare a container to become a template.
|
||||||
2. How-to use :
|
2. How-to use :
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh -O /tmp/proxmox.template.debian.sh
|
wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh -O /tmp/proxmox.template.debian.sh
|
||||||
chmod +x /tmp/proxmox.template.debian.sh
|
chmod +x /tmp/proxmox.template.debian.sh
|
||||||
/tmp/proxmox.template.debian.sh
|
/tmp/proxmox.template.debian.sh
|
||||||
```
|
```
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
# }}}
|
# }}}
|
||||||
# How-to use {{{
|
# How-to use {{{
|
||||||
## 1. Needs releasetags script, in the same directory
|
## 1. Needs releasetags script, in the same directory
|
||||||
## cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
## cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
## 2. Create a cron job, eg :
|
## 2. Create a cron job, eg :
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check.alacritty.update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check.alacritty.update
|
||||||
## 2-1 Create a cron job to compare the version of manually installed package
|
## 2-1 Create a cron job to compare the version of manually installed package
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
## supposed to be install from source (github) or at least get a VERSION file.
|
## supposed to be install from source (github) or at least get a VERSION file.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job with Cachet directory as first argument, eg.
|
### 2. Create a cron job with Cachet directory as first argument, eg.
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_cachet_update /var/www/cachet
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_cachet_update /var/www/cachet
|
||||||
### 3. Monitor the temp file : /tmp/.github.cachet.upgrade
|
### 3. Monitor the temp file : /tmp/.github.cachet.upgrade
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
## current version.
|
## current version.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg :
|
### 2. Create a cron job, eg :
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_ceph_update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_ceph_update
|
||||||
### 3. Monitor the file : /srv/.github.ceph.upgrade
|
### 3. Monitor the file : /srv/.github.ceph.upgrade
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
## It's based on the cState URL site to get the current version.
|
## It's based on the cState URL site to get the current version.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job with cState URL as first argument, eg.
|
### 2. Create a cron job with cState URL as first argument, eg.
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_cstate_update https://vmstatus.domain.tld
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_cstate_update https://vmstatus.domain.tld
|
||||||
### 3. Monitor the temp file : /tmp/.github.cstate.upgrade
|
### 3. Monitor the temp file : /tmp/.github.cstate.upgrade
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
#
|
#
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job with Etherpad directory as argument, eg.
|
### 2. Create a cron job with Etherpad directory as argument, eg.
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_cachet_update --directory /srv/www/etherpad-lite
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_cachet_update --directory /srv/www/etherpad-lite
|
||||||
### 3. Monitor the temp file : /tmp/.github.etherpad.upgrade
|
### 3. Monitor the temp file : /tmp/.github.etherpad.upgrade
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
## if "repo" is given as first argument.
|
## if "repo" is given as first argument.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg :
|
### 2. Create a cron job, eg :
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_fusioninventory-agent_update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_fusioninventory-agent_update
|
||||||
### 2-1 Create a cron job to compare the version available in a Debian repository :
|
### 2-1 Create a cron job to compare the version available in a Debian repository :
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
## It based on gitea's binary available in $PATH or give as first argument.
|
## It based on gitea's binary available in $PATH or give as first argument.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg.
|
### 2. Create a cron job, eg.
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_gitea_update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_gitea_update
|
||||||
### 2-1 Create a cron job with a specific path for gitea bin, eg.
|
### 2-1 Create a cron job with a specific path for gitea bin, eg.
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
# }}}
|
# }}}
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg :
|
### 2. Create a cron job, eg :
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check.glpi-agent.update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check.glpi-agent.update
|
||||||
### 2-1 Create a cron job to compare the version available in a Debian repository :
|
### 2-1 Create a cron job to compare the version available in a Debian repository :
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
## For Nextcloud's apps, the `occ` command is used with sudo www-data.
|
## For Nextcloud's apps, the `occ` command is used with sudo www-data.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job with Nextcloud directory as first argument, eg.
|
### 2. Create a cron job with Nextcloud directory as first argument, eg.
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_nextcloud_update /var/www/nextcloud
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_nextcloud_update /var/www/nextcloud
|
||||||
### 3. Monitor the temp file : /tmp/.github.nextcloud.upgrade
|
### 3. Monitor the temp file : /tmp/.github.nextcloud.upgrade
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
## supposed to be install from source (github) or archives.
|
## supposed to be install from source (github) or archives.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job with PrivateBin directory as first argument, eg.
|
### 2. Create a cron job with PrivateBin directory as first argument, eg.
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_privatebin_update /var/www/privatebin
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_privatebin_update /var/www/privatebin
|
||||||
### 3. Monitor the temp file : /tmp/.github.privatebin.upgrade
|
### 3. Monitor the temp file : /tmp/.github.privatebin.upgrade
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
## if "repo" is given as first argument.
|
## if "repo" is given as first argument.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg :
|
### 2. Create a cron job, eg :
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check.rocketchat-electron.update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check.rocketchat-electron.update
|
||||||
### 2-1 Create a cron job to compare the version available in a Debian repository :
|
### 2-1 Create a cron job to compare the version available in a Debian repository :
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
## supposed to be install from source (github).
|
## supposed to be install from source (github).
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job with Searx directory as first argument, eg.
|
### 2. Create a cron job with Searx directory as first argument, eg.
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_searx_update /var/www/searx
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_searx_update /var/www/searx
|
||||||
### 3. Monitor the temp file : /tmp/.github.searx.upgrade
|
### 3. Monitor the temp file : /tmp/.github.searx.upgrade
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
## root is given as first argument.
|
## root is given as first argument.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg :
|
### 2. Create a cron job, eg :
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_self-service-password_update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_self-service-password_update
|
||||||
### 2-1. Create a cron job with Self Service Password (SSP) directory as first argument, eg :
|
### 2-1. Create a cron job with Self Service Password (SSP) directory as first argument, eg :
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
## It based on shaarli's binary available in $PATH or give as first argument.
|
## It based on shaarli's binary available in $PATH or give as first argument.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg.
|
### 2. Create a cron job, eg.
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_shaarli_update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_shaarli_update
|
||||||
### 2-1 Create a cron job with a specific path for Shaarli bin, eg.
|
### 2-1 Create a cron job with a specific path for Shaarli bin, eg.
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
# }}}
|
# }}}
|
||||||
# How-to use {{{
|
# How-to use {{{
|
||||||
## 1. Needs releasetags script, in the same directory
|
## 1. Needs releasetags script, in the same directory
|
||||||
## cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
## cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
## 2. Create a cron job, eg :
|
## 2. Create a cron job, eg :
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check.teams-for-linux.update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check.teams-for-linux.update
|
||||||
## 2-1 Create a cron job to compare the version of manually installed package
|
## 2-1 Create a cron job to compare the version of manually installed package
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
## as first argument.
|
## as first argument.
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job, eg.
|
### 2. Create a cron job, eg.
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_vaultwarden_update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_vaultwarden_update
|
||||||
### 2-1 Create a cron job with a specific path for vaultwarden bin, eg.
|
### 2-1 Create a cron job with a specific path for vaultwarden bin, eg.
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
## supposed to be install from source (github).
|
## supposed to be install from source (github).
|
||||||
## How-to use {{{
|
## How-to use {{{
|
||||||
### 1. Needs releasetags script, in the same directory
|
### 1. Needs releasetags script, in the same directory
|
||||||
### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
### 2. Create a cron job with Wallabag directory as first argument, eg.
|
### 2. Create a cron job with Wallabag directory as first argument, eg.
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check_wallabag_update /var/www/wallabag
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check_wallabag_update /var/www/wallabag
|
||||||
### 3. Monitor the temp file : /tmp/.github.wallabag.upgrade
|
### 3. Monitor the temp file : /tmp/.github.wallabag.upgrade
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
# }}}
|
# }}}
|
||||||
# How-to use {{{
|
# How-to use {{{
|
||||||
## 1. Needs releasetags script, in the same directory
|
## 1. Needs releasetags script, in the same directory
|
||||||
## cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags
|
## cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags
|
||||||
# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags
|
# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags
|
||||||
## 2. Create a cron job, eg :
|
## 2. Create a cron job, eg :
|
||||||
#00 20 * * * root /opt/repos/ipr.scripts/github/check.A_MAGNIFICIENT_PACKAGE_NAME.update
|
#00 20 * * * root /opt/repos/ipr.scripts/github/check.A_MAGNIFICIENT_PACKAGE_NAME.update
|
||||||
## 2-1 Create a cron job to compare the version of manually installed package
|
## 2-1 Create a cron job to compare the version of manually installed package
|
||||||
|
|
|
@ -43,7 +43,7 @@ update-locale LANG="${NEW_L}"
|
||||||
# Previously used hostnamectl but it can't works correctly on LXC container with Apparmor
|
# Previously used hostnamectl but it can't works correctly on LXC container with Apparmor
|
||||||
debian_version=$(grep VERSION_CODENAME /etc/os-release | cut --delimiter="=" --fields=2)
|
debian_version=$(grep VERSION_CODENAME /etc/os-release | cut --delimiter="=" --fields=2)
|
||||||
|
|
||||||
wget https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz --output-document=/tmp/latecommand.tar.gz
|
wget https://git.ipr.univ-rennes.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz --output-document=/tmp/latecommand.tar.gz
|
||||||
tar xzf /tmp/latecommand.tar.gz --directory=/tmp/
|
tar xzf /tmp/latecommand.tar.gz --directory=/tmp/
|
||||||
/bin/sh /tmp/latecommand/post."${debian_version}".sh
|
/bin/sh /tmp/latecommand/post."${debian_version}".sh
|
||||||
|
|
||||||
|
|
|
@ -225,11 +225,11 @@ upgrade_container() { # {{{
|
||||||
|
|
||||||
## Keep output if DEBUG mode is activated
|
## Keep output if DEBUG mode is activated
|
||||||
if [ "${DEBUG}" -eq "0" ]; then
|
if [ "${DEBUG}" -eq "0" ]; then
|
||||||
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh --output-document=/tmp/proxmox.template.debian.sh" || exit 2
|
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh --output-document=/tmp/proxmox.template.debian.sh" || exit 2
|
||||||
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "chmod +x /tmp/proxmox.template.debian.sh" || exit 2
|
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "chmod +x /tmp/proxmox.template.debian.sh" || exit 2
|
||||||
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "/tmp/proxmox.template.debian.sh" || exit 2
|
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "/tmp/proxmox.template.debian.sh" || exit 2
|
||||||
else
|
else
|
||||||
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "wget --quiet https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh --output-document=/tmp/proxmox.template.debian.sh" || exit 2
|
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "wget --quiet https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh --output-document=/tmp/proxmox.template.debian.sh" || exit 2
|
||||||
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "chmod +x /tmp/proxmox.template.debian.sh" || exit 2
|
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "chmod +x /tmp/proxmox.template.debian.sh" || exit 2
|
||||||
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "/tmp/proxmox.template.debian.sh" > /dev/null 2>&1 || exit 2
|
/usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "/tmp/proxmox.template.debian.sh" > /dev/null 2>&1 || exit 2
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue