Ensure to run the appropriate late_command script
According to Debian's version.
This commit is contained in:
parent
0dc5c0f8fb
commit
4799406fac
|
@ -40,9 +40,11 @@ update-locale LANG="${NEW_L}"
|
|||
|
||||
# download an additionnal script to manage rsyslog and logrotate {{{
|
||||
|
||||
debian_version=$(hostnamectl | grep "Operating System" | sed 's/.*(\(.*\))/\1/')
|
||||
|
||||
wget https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz -O /tmp/latecommand.tar.gz
|
||||
tar xzf /tmp/latecommand.tar.gz -C /tmp/
|
||||
/bin/sh /tmp/latecommand/post.sh
|
||||
/bin/sh /tmp/latecommand/post."${debian_version}".sh
|
||||
|
||||
# }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue